Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Menu] Do not show Data Query Tool menu item with data_dict_view permission #5833

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

driusan
Copy link
Collaborator

@driusan driusan commented Dec 5, 2019

The default schema incorrectly added a LorisMenuPermissions item for the
Data Query Tool if the user had the data_dict_view permission in the
default schema. This removes that line, as the correct permission
(according to the code) is the dataquery_view permission (which is
separately already included in the default schema. See line 209.)

(Note that I didn't include a patch for existing projects because this is
going to the bug fix release.)

The default schema incorrectly added a LorisMenuPermissions item for the
Data Query Tool if the user had the data_dict_view permission in the
default schema. This removes that line, as the correct permission
(according to the code) is the dataquery_view permission (which is
separately already included in the default schema.)
@driusan driusan added Add to Release Notes PR change should be highlighted in Release notes (important security, features and bugfixes) UI PR or issue introducing/requiring improvements to the LORIS User Interface Cleanup PR or issue introducing/requiring at least one clean-up operation SQL PR contains SQL modifications such as schema changes and new SQL scripts labels Dec 5, 2019
@christinerogers
Copy link
Contributor

why not include a patch? too tricky to remove?

@ridz1208
Copy link
Collaborator

ridz1208 commented Dec 5, 2019

This could be sent out to 21 as well. I have a different PR for 21 that will also need a patch
#5838

@driusan driusan merged commit 93de3e4 into aces:22.0-release Dec 13, 2019
@ridz1208
Copy link
Collaborator

@driusan could you at least send a patch for this for master ?

@ridz1208 ridz1208 added this to the 22.0.1 milestone Jan 7, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Add to Release Notes PR change should be highlighted in Release notes (important security, features and bugfixes) Cleanup PR or issue introducing/requiring at least one clean-up operation SQL PR contains SQL modifications such as schema changes and new SQL scripts UI PR or issue introducing/requiring improvements to the LORIS User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants