View Issue Details

IDProjectCategoryView StatusLast Update
0004927Composrcore_permission_managementpublic2022-09-09 21:05
ReporterChris GrahamAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0004927: Move use of privleges being defined in the database to be defined in hooks
DescriptionCurrently privilege definitions are installed into the databases. Since we made this design decision, we have moved to implementing such things instead via code using hooks.

Disadvantages of using the database:
 - More complex installation/uninstallation code
 - Potential for the database to get out of sync with what the Composr version is designed for

Consider moving them to hooks.

Note we would still need installer code to assign privileges to groups where they are on by default - for performance reasons we would need these coming out of the DB with a single query, rather than loading up a lot of individual files.
For this reason, it's a bit of a toss up whether we should make the change, as we would be implementing parallel code for dealing with a lot of the privileges.
TagsNo tags attached.
Time estimation (hours)8
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-09-09 21:05 Chris Graham New Issue