You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to create a feature request for a missing role in the owncloud solution.
From now, we have 3 existing role in the solution:
admin (super admin role, can manage all in the server)
group admin (can add users in a group)
user (can use the solution)
In my idea, the owncloud solution can be a little bit better for managing rights.
We can see it for minor and major updates.
for a minor update, I would like to know if we can add a new role like 'supervisor'.
the Supervisor role is intermediate between groups admin and admin. he is a "real" group admin:
rights: groups admin + create groups and assign groups administrators.
for major update, I would like to expose a new concept, i little bit more dynamic.
add a function in the admin panel that can assign security rights to existing groups. for example, by default we have the 4 groups like the example before, but we can add or delete rights for groups.
For example, in some company only the admin or supervisor can change quota.
for example, in some company we can assign "profiles" to limit anonymous share right for some users.
Actually we have really 4 roles today: server admin (super admin role, can manage all in the server, can also be ownCloud admin but not required (not sure we have any way to prevent this actually) owncloud admin (can administer ownCloud but not use occ, edit config.php or anything kept to the server admin) group admin (can add users in a group) user (can use the solution)
Those roles are not perfectly defined and separated today and might have some gaps, but defining those and implementing them clearly over the next releases will be important. We could allow the ownCloud admin to make updates but not upgrades or we need the system admin for all code changes for core and only allows minor version app updates, etc.
What do you think?
I wonder if the wordpress permission model might be a good starting point?
Namely, functions register permission hooks (can_edit_posts, can_add_users, etc), and the default user permission levels contain a default setup (authors have can_write_posts but not can_publish, because posts need approval by editors).
Perhaps the same could be applied to OC? Then new user roles can be added by anyone, and given custom permissions.
(note, those aren't the names of the WP permission names, just using pusedonames for sake of example)
Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
Activity
PVince81 commentedon Nov 25, 2016
Something similar was discussed here: #3362
Not necessarily a duplicate but it could help advance the discussion and clarify the requirements.
hodyroff commentedon Nov 25, 2016
Actually we have really 4 roles today:
server admin (super admin role, can manage all in the server, can also be ownCloud admin but not required (not sure we have any way to prevent this actually)
owncloud admin (can administer ownCloud but not use occ, edit config.php or anything kept to the server admin)
group admin (can add users in a group)
user (can use the solution)
Those roles are not perfectly defined and separated today and might have some gaps, but defining those and implementing them clearly over the next releases will be important. We could allow the ownCloud admin to make updates but not upgrades or we need the system admin for all code changes for core and only allows minor version app updates, etc.
What do you think?
cornelinux commentedon Nov 25, 2016
For best flexibility I would expect to have a list of possible actions.
Then you could define, which actions are allowed for which role.
This way the default roles could be defined but also any additional new role - composed of an indivitual set of allowed actions - could be defined.
benyanke commentedon Dec 12, 2016
I wonder if the wordpress permission model might be a good starting point?
Namely, functions register permission hooks (can_edit_posts, can_add_users, etc), and the default user permission levels contain a default setup (authors have can_write_posts but not can_publish, because posts need approval by editors).
Perhaps the same could be applied to OC? Then new user roles can be added by anyone, and given custom permissions.
(note, those aren't the names of the WP permission names, just using pusedonames for sake of example)
ownclouders commentedon Dec 21, 2017
Hey, this issue has been closed because the label
status/STALEis set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.
PVince81 commentedon Dec 21, 2017
@pmaier1