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
{{ message }}
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
We have a site where an editor writes articles in a blog page. Obviously, we have an editor user role, but that user has access to all pages in the site, not just the blog.
Solution
The user blueprint could accept a permissions.content array that configures access:
@afbora I didn't know about that. It appears to get the job done, but I have a lot of templates - around 30-40. Configuring all of them isn't going to be very pleasant. Besides - what happens if I have two pages of the same template, yet I want only one of them to be editable?
Having the ability to restrict access on a per-template basis is definitely useful, but specifying page IDs is as well. Perhaps the biggest difference is you can disable all access with *: false
Problem
We have a site where an editor writes articles in a
blog
page. Obviously, we have aneditor
user role, but that user has access to all pages in the site, not just the blog.Solution
The user blueprint could accept a
permissions.content
array that configures access:The text was updated successfully, but these errors were encountered: