BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Allow user specific permission assignments at an entity level

Open Luffyyy opened this issue 6 years ago • 10 comments

Describe the feature you'd like Add a collaborators option for pages and what not so a user who created a page/etc will be able to give permissions to other users to also edit it.

Describe the benefits this feature would bring to BookStack users This will allow users to have shared pages/etc without needing to create special roles for each group of people.

Luffyyy avatar Oct 25 '19 17:10 Luffyyy

Hi @Luffyyy, Thank you for your request.

We already have a role permission to allow users to manage permissions on their own content. Am I correct in thinking that, to support your request, you'd just need the ability to assign permissions per user instead of per role in the page permissions view?

ssddanbrown avatar Oct 25 '19 19:10 ssddanbrown

Yes

Luffyyy avatar Oct 25 '19 21:10 Luffyyy

Thanks for confirming @Luffyyy. I have updated the title to reflect the core feature requirement. "Permission System Review" is on the roadmap, It will likely be at that point which this feature will be considered for inclusion.

ssddanbrown avatar Oct 26 '19 10:10 ssddanbrown

Hi guys,

I came to this thread looking I think for the same thing, if it's ok I'll just describe shortly the feture I'm interested.

As an Admin user I can assign individual users specific permissions per shelf or per individual book.

So if I have 2 users i can select which of the users will have access to which of the books/shelfs

Struki84 avatar Oct 26 '19 16:10 Struki84

Thanks for the input @Struki84, That use-case aligns with the updated title.

Just as an FYI, in the event that you're new to the project, you could currently achieve this but you'd need to create a custom role for those two users, to then use that role in the book/shelf level permissions pages. You may have already discovered this though.

ssddanbrown avatar Oct 26 '19 17:10 ssddanbrown

Wow, tnx, I wasn't aware you can create custom roles, I think that would work for me.

Struki84 avatar Oct 26 '19 19:10 Struki84

I would love to see something like this at the book level too. A 'private' book that people can add and remove users and adjust permissions as needed.

cb3inco avatar Sep 03 '21 08:09 cb3inco

This is exactly what we are looking for. We'd like to create a book and add view/alter permissions for specific user(s).

Right now, we need to create a role for this and add that person to that role and give permission to that role for the relevant book, which is too complicated. And, we'll have lots of roles to have...

ramazanpolat avatar Feb 12 '25 20:02 ramazanpolat

I would also really enjoy this feature. Is there any work being developed on this?

Or can I take a look into it?

FaroJoaoFaro avatar May 23 '25 09:05 FaroJoaoFaro

@FaroJoaoFaro I made an attempt a few years back in #3908, but that led to a dead end in regard of this feature (although this lead to a refactoring of permissions via #3986). This is something I'd like to implement (hence my prior attempt), but I don't really have the motivation to do any-time soon since the permission system is significant and complex, and there's really some substantial database structures changes to be made first which I wouldn't want to rush.

Thanks for the offer to look at this, but due to the scope & complexity of this area I would not be keen on someone else (that's not deeply involved in the project) jumping in to develop this out.

ssddanbrown avatar May 23 '25 11:05 ssddanbrown