-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enable developers to fetch the list of attributes which the current user has access to #705
Comments
Blocked by #644 |
@jrschumacher @jakedoublev Is this just a get entitlements call to determine which attributes a user has access to? |
@strantalis Yes, it is, but this issue implies an "unscoped" (no FQNs) The blocking issue (#644) will allow the ability to go from Entity -> flattened Entity Representation selectors/values -> matched Subject Condition Sets / Mappings -> Attribute Values as Entitlements. |
@jakedoublev If scopes is empty we should just return all entitlements for a user. At least thats how I would expect it to work. I don't fully understand why we error if scopes is empty. Do you know if we even did performance tests against this path? |
No I don't think we have with the latest. |
The performance concerns seem related to the algorithmic complexity, as documented in #365. However, we could allow it and just document that there might be performance issues with X number of subject mappings based on our performance tests. |
To build PEPs with rich UX, developers need the ability to get the list of attributes that the user has access to. This feature enables PEPs to only allow creating TDFs with attributes to ensure the data created is accessible.
The text was updated successfully, but these errors were encountered: