Skip to content

Conversation

@ingoj
Copy link
Contributor

@ingoj ingoj commented Mar 26, 2024

the plugin checked, if the user holds the global admin role. To enable persons who have proper authority, but not the global admin role to configure the plungin settings, I introduced a new function "grant access(): bool" to the plugin class. The checks fpr the pluginGUI, UDFChecks, UserSettings and UserSearch are updated to use the new function.

The Function itself checks if the user is allowed to edit roles in ILIAS user adminstration, since most functions of the plugin (de-)assign roles to users. Probably this could be extended to check orgUnit assignment capabilities, too.
if other capabilities should be honoured, this can be achieved in one place now.

I did not touch the REST API related classes since I am not sure which check should be placed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant