Skip to content
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 1 commit into from
Jan 10, 2012

Conversation

driusan
Copy link
Collaborator

@driusan driusan commented Dec 12, 2011

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)

…' 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
@samirdas samirdas merged commit 128a654 into aces:master Jan 10, 2012
Jkat referenced this pull request in Jkat/Loris Oct 21, 2014
Bug fix in the batch_uploads_tarchive
@driusan driusan added Language: SQL PR or issue that update SQL code Category: Feature PR or issue that aims to introduce a new feature labels Dec 16, 2014
rathisekaran pushed a commit to rathisekaran/Loris that referenced this pull request Jan 12, 2015
kongtiaowang added a commit that referenced this pull request Mar 7, 2016
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
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
@jftunteng jftunteng added this to the PRE 20.0.0 milestone Jan 7, 2020
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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants