Permissions C5.7
Permalink
Hello Concrete5 members!
I am curious if it is possible to create a file so that a User Group and the Permissions are set for every Concrete5 installation.
Now I have to create the same Group and set the same permission settings over and over again for each Concrete5 installation.
I am curious if it is possible to create a file so that a User Group and the Permissions are set for every Concrete5 installation.
Now I have to create the same Group and set the same permission settings over and over again for each Concrete5 installation.
There are core classes for manipulating permissions. No need (and best not) to manipulate the database tables directly. There are some howtos on doing this for 5.6. AFAIK, the interface to that area of 5.7 is similar.
You could write a c5 job with a bunch of initial users/groups/permissions already hard coded into it, or to parse a csv file with the info to then set up as you require.
You could write a c5 job with a bunch of initial users/groups/permissions already hard coded into it, or to parse a csv file with the info to then set up as you require.
Could be done of course...