Add the ability to lock pages #2094

Closed
opened 2026-02-05 02:53:03 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @nickolasdeluca on GitHub (Feb 12, 2021).

Describe the feature you'd like
I'd like to lock a page to prevent people and myself from editing or moving it. These kind of pages act as a template for other pages, the only thing I need them for is to copy them to another page and then edit this page and add what I need and sometimes my idiot self forgets to copy them and starts editing and saving the template page.

Describe the benefits this feature would bring to BookStack users
Have the ability to create page templates for books and prevent users and the owner from editing them mistakenly.

Additional context
This feature should act simply as a validation, if the page is locked, no one can edit it or move it. If you have to do either of these actions to the page, you can simply click the lock button and unlock it.

Originally created by @nickolasdeluca on GitHub (Feb 12, 2021). **Describe the feature you'd like** I'd like to lock a page to prevent people and myself from editing or moving it. These kind of pages act as a template for other pages, the only thing I need them for is to copy them to another page and then edit this page and add what I need and sometimes my idiot self forgets to copy them and starts editing and saving the template page. **Describe the benefits this feature would bring to BookStack users** Have the ability to create page templates for books and prevent users and the owner from editing them mistakenly. **Additional context** This feature should act simply as a validation, if the page is locked, no one can edit it or move it. If you have to do either of these actions to the page, you can simply click the lock button and unlock it.
Author
Owner

@ssddanbrown commented on GitHub (Feb 12, 2021):

Hi @nickolasdeluca,

You should be able to do this via setting page permissions, by removing edit permissions on this page. Ensure you still leave view permissions. If you use the default admin account you may have to create a new "Custom Admin" role, and use that instead, since the default Admin role always retains permissions.

@ssddanbrown commented on GitHub (Feb 12, 2021): Hi @nickolasdeluca, You should be able to do this via setting page permissions, by removing edit permissions on this page. Ensure you still leave view permissions. If you use the default admin account you may have to create a new "Custom Admin" role, and use that instead, since the default Admin role always retains permissions.
Author
Owner

@nickolasdeluca commented on GitHub (Feb 12, 2021):

Hi @nickolasdeluca,

You should be able to do this via setting page permissions, by removing edit permissions on this page. Ensure you still leave view permissions. If you use the default admin account you may have to create a new "Custom Admin" role, and use that instead, since the default Admin role always retains permissions.

Exactly, I can do that today by creating new roles and stuff... but I don't like that idea. haha
Anyways, if the lock page is not worth developing, that's ok, I'll deal with it, but I thought it was a cool idea to have implemented.

@nickolasdeluca commented on GitHub (Feb 12, 2021): > Hi @nickolasdeluca, > > You should be able to do this via setting page permissions, by removing edit permissions on this page. Ensure you still leave view permissions. If you use the default admin account you may have to create a new "Custom Admin" role, and use that instead, since the default Admin role always retains permissions. Exactly, I can do that today by creating new roles and stuff... but I don't like that idea. haha Anyways, if the lock page is not worth developing, that's ok, I'll deal with it, but I thought it was a cool idea to have implemented.
Author
Owner

@ssddanbrown commented on GitHub (Mar 8, 2021):

Okay, I'll therefore close this off since It's something that can be served by the permission system with a little initial setup.

@ssddanbrown commented on GitHub (Mar 8, 2021): Okay, I'll therefore close this off since It's something that can be served by the permission system with a little initial setup.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2094