View Issue Details

IDProjectCategoryView StatusLast Update
4927Composrcore_permission_managementpublic2022-09-09 21:05
ReporterChris Graham Assigned ToGuest  
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary4927: 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.
Attach Tags
Time estimation (hours)8
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

There are no notes attached to this issue.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

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