-
Notifications
You must be signed in to change notification settings - Fork 179
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
Configurable permission categories #7
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…' type for permissions. Categories can now be completely customized, also added ability to expand/collapse categories displayed, using jQuery
samirdas
added a commit
that referenced
this pull request
Jan 10, 2012
Configurable permission categories
rathisekaran
pushed a commit
to rathisekaran/Loris
that referenced
this pull request
Jan 12, 2015
fixing bug with incorrect merge
stellarxo
referenced
this pull request
in stellarxo/Loris
May 9, 2016
Adding raw scores for each of q16 in CSBS Form
davidblader
added a commit
to davidblader/Loris
that referenced
this pull request
Feb 8, 2017
filters out row if row contains no visits with relevant cohort
ZainVirani
pushed a commit
to ZainVirani/Loris
that referenced
this pull request
Jul 12, 2017
calc functionality
xlecours
referenced
this pull request
in xlecours/Loris
Jun 28, 2018
adding values to doc/config/config.xml
cmadjar
referenced
this pull request
in cmadjar/Loris
Apr 24, 2019
Fix API to get language, Age at MRI and removed all the POST, PUT, PATCH requests from the API
HenriRabalais
referenced
this pull request
in HenriRabalais/Loris
Feb 17, 2020
[Candidate_parameters] Add post 21.0 release fixes
xlecours
referenced
this pull request
in xlecours/Loris
Aug 13, 2020
…ification both instruments should be updated and rescored
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Category: Feature
PR or issue that aims to introduce a new feature
Language: SQL
PR or issue that update SQL code
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request addresses Redmine ticket #2020. It makes the sections of permissions in the user management module customizable instead of being hardcoded to the (meaningless) "role" and "permission" categories.
A new table called permissions_category is created, and a column added to the permissions table which is a foreign key to the category for that permission. This replaces the 'type' column, which can be dropped (the SQL to do so is commented out in the SQL script, and needs to be done manually to make sure no data is lost)
By default the permission categories are "role" and "permission", so that everything should work identically with this patch unless you manually customize your categories to something more appropriate for your project.
(jQuery is also added to make the headings clickable to collapse/expand the sections)