-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
CRM-19494 Refactoring of permission code #9246
Merged
Merged
Changes from 18 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
dddf4bf
added new list permission functions
bjendres 2b8d25f
added check for 'view/edit my contact'
bjendres 9a41e16
cleanup and documentation
bjendres ea8011f
started unit tests for new list permission functions
bjendres 67df140
adding new list permission functions (wip)
bjendres 134b2b6
unit tests for new list permission functions (wip)
bjendres c1ebd31
unit tests for new list permission functions (wip)
bjendres 19f13a7
fixed: EDIT implies VIEW
bjendres c0e8730
fixed bug in the original function
bjendres 3c64583
finished unit tests
bjendres 730afb4
using new Permission::allowList to fix CRM-12645
bjendres e4541c5
obeying master jenkins
bjendres 340be2e
implementing @eileen's suggestions:
bjendres 163bfad
Fix enotice
eileenmcnaughton e8a0f9e
Minor in-passing tidy-ups
eileenmcnaughton 98445ac
CRM-12645 fix the code that calls the links function to not whomp it.
eileenmcnaughton 0f76544
CRM-18120 make acl query less debilitating
eileenmcnaughton 135367a
CRM-12645 fix regression in previous refactor
eileenmcnaughton 680a52d
CRM-12645 remove replaced function
eileenmcnaughton 8210399
CRM-12645 remove unused function
eileenmcnaughton 5f652ac
Return explicit FALSE for test expectation
eileenmcnaughton 9aea8e1
CRM-19557 Fix ACL caching function to not use inefficient query for v…
eileenmcnaughton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
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.
Sorry, thanks for spotting this.