Add conditional logic to blocks field #5348
Replies: 1 comment 1 reply
-
I love this idea. I would call it Because To your point about certain users, that is more like access control which has other implications. In your scenario, what happens if an admin user creates a document that has a priveledged block, others can't access, but then the lesser priveledged user goes to edit the document? This can happen now with relationships and we leave the We'll look into v3 admin.condition, thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I think it might be useful to be able to add logic on which blocks are available on the blocks field. Maybe only a user of a certain type of role is able to select a certain block, or you want to be able to select a 'page template' that enables a different set of blocks.
(Btw that admin.condition function doesn't do anything at all atm for v3alpha)
Beta Was this translation helpful? Give feedback.
All reactions