-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feat/entity permisions graphql #187
base: master
Are you sure you want to change the base?
Conversation
…gurable with spring properties.
@@ -35,6 +35,18 @@ public interface AuthorizationService { | |||
*/ | |||
void verifyCanDeleteEntities(Collection<? extends EntityStructure> entities); | |||
|
|||
/** | |||
* Verify that the current user has right to delete the given entity. | |||
* @throws AccessDeniedException if not. |
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.
boolean and throwing AccessDeniedException. Will this method ever return false?
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.
updated docs
src/main/java/org/rutebanken/tiamat/auth/DefaultAuthorizationService.java
Show resolved
Hide resolved
src/main/java/org/rutebanken/tiamat/auth/DefaultAuthorizationService.java
Show resolved
Hide resolved
…ission for group of stopPlaces
…ission for group of stopPlaces
…ission for group of stopPlaces
LocationPermissionsFetcher work in progress
Quality Gate failedFailed conditions |
Extended graphql api to show entity permission.