Conversation
|
Nice hopefully saves me doing some juggling to get the current users groups that I am doing currently @kjac 😄 As I do the following in the UI/Javascript to get the current groups
SuggestionsCould this be part of the response of getting the current user at Any plans to add group aliases? https://docs.umbraco.com/umbraco-cms/extending/dashboards#specifying-permissions |
|
Hi @warrenbuckley - thanks for chiming in here 👍 We're amending the user group endpoints to handle aliases (it was omitted in the initial implementation by mistake) - see #16154 Once that PR is in, this PR will likewise feature user group aliases in the output 😄 |
Prerequisites
Description
This PR adds a filter endpoint for user groups.
Note that the filter only ever returns groups that the current user is a member of, unless the current user is an admin.
Testing this PR
Use Swagger to test the new endpoint:
filterparameter.filterparameter (all groups if the parameter is empty)