Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List distinct objects in the namespace #1487

Open
3 of 5 tasks
domantasVizinis opened this issue Dec 18, 2023 · 0 comments
Open
3 of 5 tasks

List distinct objects in the namespace #1487

domantasVizinis opened this issue Dec 18, 2023 · 0 comments
Labels
feat New feature or request.

Comments

@domantasVizinis
Copy link

Preflight checklist

Ory Network Project

No response

Describe your problem

Currently there is no possibility to list distinct objects created in the Namespace. It is possible to query only all relations by specifying the namespace.

Why this feature is useful? Lets say we implement simple RBAC whit roles. It would be useful to first list already created Roles before creating new ones. Also it could serve as an option to narrow down the search.

Describe your ideal solution

Current ListRelationTuples request would be a great place to hold boolean field distinct which would indicate if we want a distinct results or all.

Workarounds or alternatives

Iterate over ListRelationTuples and save distinct results self.

Version

v0.11.1-alpha.0

Additional Context

No response

@domantasVizinis domantasVizinis added the feat New feature or request. label Dec 18, 2023
@alnr alnr changed the title List distinct objects in the namesoace List distinct objects in the namespace Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant