BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.17k stars 1.89k forks source link

Tiered permissions - Managers can promote employees to managers, but not to admins. #5013

Open sjacobflaherty opened 5 months ago

sjacobflaherty commented 5 months ago

Describe the feature you'd like

I would like to open the app up to be less managed by me and stakeholders, while also keeping empyrical permissions set in stone. This could be achieved by:

The beauty of this is everything else could stay the same. Managers could add another user group like asst. manager(3) if they want. Asset privileges are unchanged for the most sensitive information, as they are set to visible for only specific roles anyway and can ignore tiers.

Describe the benefits this would bring to existing BookStack users

More granular control of user permissions. Allowing us to give trusted individuals more freedom, while also providing admins more security.

Can the goal of this request already be achieved via other means?

Not easily. I could code it if I get desperate enough. I'm more of a Nodejs/Typscript guy though.

Have you searched for an existing open/closed issue?

How long have you been using BookStack?

1 to 5 years

Additional context

No response

ssddanbrown commented 5 months ago

Thanks for the request @sjacobflaherty. The fundamental need is very similar to #2713, so I may dedupe this down to that issue, with this referenced as a potential implementation idea.

Looks like a good potential solution if that issue was to be addressed, although I would look to avoid the settings checkbox to enable/disable the feature, as I try to avoid option driven features in BookStack, and instead prefer a forward compatible migrated route of some kind, with instead an added role level control that has to be assigned before user roles can be changed via such a mechanism.