Ralf Haferkamp
07a78287a7
Allow initial self-assignemnt of UserRole
...
When using an external user management we need to allow users to self-assign
the default role. This adds an explicit check for that to the settings service.
This also means we no longer need to fiddle with the account id in the proxy
upon first login.
Fixes : #5045
2022-11-16 16:23:32 +01:00
Jörn Friedrich Dreyer
7443a9a225
Make permission and role ids unique ( #5051 )
...
* make permission ids unique
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* deduplicate roleids after listing permissions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-11-15 16:51:49 +01:00
David Christofas
3125459415
[full-ci]fallback to stored roles ( #4890 )
...
* fallback to stored roles
If there are no roles in the current context load the user's roles from the storage.
* some code clean up
2022-11-03 13:25:21 +01:00
David Christofas
73e50ae84b
prohibit users form setting and listing other user's values
2022-10-25 14:13:47 +02:00
Ralf Haferkamp
87eaf72020
Forbid to edit/remove own role assignements
...
And admin user is no longer allowed to edit/remove its own assignments.
This to prevent admins from locking themselves out.
Fixes : #3713
2022-09-23 09:13:46 +02:00
Ralf Haferkamp
b4a90b132b
Demote demo user "moss" from admin to space-admin
...
Fixes : #3625
2022-07-22 16:47:04 +02:00
Christian Richter
f8f1320501
refactor extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00
Christian Richter
78064e6bab
rename folder extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00