Repository navigation
web/admin: add user app entitelments screen - #24734
Conversation
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #24734 +/- ##
========================================
Coverage 92.84% 92.84%
========================================
Files 1211 1212 +1
Lines 83335 83569 +234
Branches 4686 4686
========================================
+ Hits 77369 77587 +218
- Misses 5890 5906 +16
Partials 76 76
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
5e0c818 to
612959f
Compare
BeryJu
left a comment
There was a problem hiding this comment.
Kinda torn between having a tab with all entitlements and making the user-app table expandable and showing the entitlements scoped in there
The latter option is what I considered first in fact, but it seems that would only go half way towards addressing the original need - seeing all the entitlements at once. It would still require clicking (and lots of it if you have more than a few apps) to do so. |
612959f to
fe0f0fb
Compare
fe0f0fb to
aeaa767
Compare
Signed-off-by: Jens Langhammer <[email protected]> # Conflicts: # authentik/core/api/application_entitlements.py # authentik/core/models.py # packages/client-ts/src/apis/CoreApi.ts # packages/client-ts/src/models/ApplicationEntitlement.ts # schema.yml # web/src/admin/users/UserApplicationsTab.ts
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
* main: (63 commits) web: bump shell-quote from 1.9.0 to 1.12.0 (#27531) web/admin: allow adding source to identification stage after creation (#27485) web: bump @xmldom/xmldom from 0.8.13 to 0.8.15 in /web (#27520) web: bump source-map-js from 1.2.1 to 1.2.2 (#27523) web: bump follow-redirects from 1.16.0 to 1.16.2 (#27524) web: bump joi from 17.13.4 to 17.13.9 (#27525) web: bump smol-toml from 1.8.0 to 1.9.1 (#27526) web: bump markdown-it from 14.3.0 to 14.3.3 (#27528) web: bump fast-uri from 3.1.8 to 3.1.9 (#27529) web: bump image-size from 2.0.2 to 2.0.4 (#27530) web: bump proxy-addr from 2.0.7 to 2.0.8 (#27532) web: bump compression from 1.8.1 to 1.8.2 (#27533) web: bump fast-copy from 4.0.3 to 4.3.1 (#27534) web/admin: add user app entitelments screen (#24734) providers/saml: reject malformed requests with a 400 instead of a server error (#27153) common/saml: Improve certificate filtering (#27445) web/admin: add next steps in app wizard (#27470) enterprise/providers/ssf: fix credential change event sent when using authenticator during sign in (#27519) rbac: custom permissions (#27051) ci: run the distroless image tests with FIPS enabled (#27303) ...
Details
What does this PR change?
This adds a "user application entitlements" screen in the admin UI where a single user's entitlements can be observed across all applications. The "Applications" tab in the user view is now split into two "subtabs" - "Applications" and "Application entitlements", the former preserving the old Applications view and the latter showing entitlements.
The entitlements API endpoint now accepts
for_userquery parameter that allows filtering by individual user.Why is this change needed?
To simplify reviewing a user's entitlements, see #23194
How was this tested?
Manual test + a few new tests in the suite for the new API endpoint.
Linked issues
closes #23194
Checklist
make all)make docs)