This repository was archived by the owner on Jul 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 112
Added ability to set multiple assertions and their condition for permissions #320
Open
DavidHavl
wants to merge
12
commits into
ZF-Commons:master
Choose a base branch
from
DavidHavl:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
7d5795e
Added ability to set multiple assertions and it's condition for permi…
DavidHavl 9b5d507
Recoded the ability to set multiple assertions and it's condition for…
DavidHavl 01e35ba
Merge remote-tracking branch 'remotes/upstream/master'
DavidHavl b06275f
Added PSR2 new line to end of file
DavidHavl 0a3e9a7
empty lines are back
DavidHavl d2a7e27
Ability to define multiple assertions in assertion map simpler way.
DavidHavl 8c6a9c3
PSR2 compliance fix
DavidHavl 311b942
PSR2 compliance fix
DavidHavl d9a86ad
Adjusted unit tests
DavidHavl 1a30f06
Adjusted unit tests
DavidHavl c695e41
Added check for valid condition when asserting
DavidHavl 47e17f8
Rewrite of AssertionSet and moved dynamic creation of AssertionSet to…
DavidHavl 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
PSR2 compliance fix
- Loading branch information
commit 8c6a9c3c58c2b253b2f369499fe12e65a4173b06
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -196,6 +196,5 @@ public function assert(AuthorizationService $authorizationService, $context = nu | |
|
||
return false; | ||
} | ||
|
||
} | ||
} |
This file contains hidden or 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
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.
fetching assertions would be better when they are really needed in
assert()
method in this caseAssertionSet::assert()