View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
4927 | Composr | core_permission_management | public | 2022-09-09 21:05 | 2022-09-09 21:05 |
Reporter | Chris Graham | Assigned To | Guest | ||
Priority | normal | Severity | feature | ||
Status | new | Resolution | open | ||
Summary | 4927: Move use of privleges being defined in the database to be defined in hooks | ||||
Description | Currently 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. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | 8 | ||||
Sponsorship open | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2022-09-09 21:05 | Chris Graham | New Issue |