statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
32 stars 1 forks source link

Customise accessibility of blueprints based on permissions #1266

Open finnjsmith opened 2 days ago

finnjsmith commented 2 days ago

There are some blueprints in a collection that I'd like to restrict to a certain sub-set of users, for example some index pages only need to be created once, compared to show pages which need to be created constantly. I think it would be good if there was an option for a blueprint to only be accessible for a user with higher level permissions than someone with simple content-editing permissions in a collection, for example.

I think this functionality would work well with this suggestion too: https://github.com/statamic/ideas/issues/1204. They're both centred around the fact that they allow collections to be locked-down by the developers in order to reduce mistakes.

daun commented 2 days ago

For what it's worth, I think ProcessWire has landed on a pretty versatile solution for this.

Each blueprint can define:

It sounds like a lot, but it allows extremely flexible page trees without editor footguns.

Screenshot 2024-11-19 at 18 20 34