Was trying to get both field_permissions
and content_access
modules to work, and discovered this node_access
business for the first time. I've realised that most modules dealing with this have used Drupal's role rid
as the gid
when writing access rules, which is logical because it maps roles to grants simply, but the gid
column is INT. Backdrop no longer has a rid
, so to get his to work, I've had to write a doubtful function which maps each role to an INT, stored in config. Not fun.
Can that column be changed to simply accept the role's name
rather than a rid
? What would be the implications of this?
Recent comments
I don't think this answers your question, but it might help someone with a related question. The layout template for any given layout is stored in config and you can programmatically...
How to programmatically change layout?
perfect, thank you
Edit Node fields
Component ID can be found here:
Edit Node fields