-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[permissions] Renaming and organizing permissions phase 0 #7327
Conversation
4ff13dd
to
4834433
Compare
351e588
to
7a2e6ad
Compare
7a2e6ad
to
5c31272
Compare
] | ||
]; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to modify the test class to have the PR pass checks, the problem is, because I need toinstantiate a module to get its Long name, i resorted to use real modules (candidate_list and timepoint_list) which means I am king of breaking the rules of unit testing here because I am not only testing the getPermissionsVerbose()
function but also the getActiveModulesIndexed()
function of the module class. I know we should instead be using a mock module but I'm not sure how to do that. let me know if and how you want this PR changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is missing changes to the filenames in the php/installer directory
@driusan changes made, tests running |
@driusan anything still needed for this one ? you want someone else to review first ? |
I just re-skimmed it, but it looks good to me. |
In PR #7327 the SQL patch for existing projects was missing the alter table statements that were required for the update statements to be run.
Add "actions" to and module to permissions table in order to harmonize and make the display of permissions in the frontend more consistent.
In PR aces#7327 the SQL patch for existing projects was missing the alter table statements that were required for the update statements to be run.
Brief summary of changes
In an attempt to organise and standardise the existing permissions I have created a couple categories in the permissions table to leverage the modules architecture and add the
action
column and generate the lable based on the combination of columns as a first phase.Changes in this PR:
new permissions......