In Drupal 7 permissions are stored in the roles_permission table.  Where are they stored in Backdrop?  I've not been using the D7 to Backdrop migration process because it's been simpler and easier to do it another way, with the exception of permissions.  But I don't see where they are stored in Backdrop, hence the question.  Thanks!

Accepted answer

Thanks for the quick reply.

Most helpful answers

They are stored in the config file (.json) for each role.

Comments

They are stored in the config file (.json) for each role.

Interesting choice!

Where can I find out more about the rationale behind this decision?

Personally speaking, I find .json files pretty unforgiving, format-wise.

I'm not alone, apparently

https://www.reddit.com/r/Oobabooga/comments/1f8oe0n/troubleshooting_error_loading_20k_row_json/

https://news.ycombinator.com/item?id=19653834

Maybe I'm just old, but I am still very curious to know why this measure was adopted, and want to know more about how it makes BCMS better.

Where can I go to read more?

g.
----

Thanks @stpaultim,

Looks like this was a hotly debated topic in D8 days, with multiple strongly held opinions flying.  So be it.  JSON when dealing with BCMS.

It should be said that you are not advised to manually edit config files for this reason.  There is a perfectly good user interface and there are also bee commands for adding, removing and viewing permissions for each role.

One of the benefits of this change is that it is easier to deploy config changes from different environments.

@yorkshirepudding,

I totally agree with you when it comes to managing m2m oriented files; front end technologies are really de rigueur.  

I especially like visual tools - they help lower the bar and make this technology "friendlier" for non-technical folks, so the more that can be done from within the GUI the better.

I wonder, do you think these YouTube video would be a good resource for people coming to this discussion "from the future"?

https://m.youtube.com/watch?v=8uhpxYt8zGQ

https://www.youtube.com/watch?v=9EAXrPYlGt0

g.
----