Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
[BZ 1361933] createSubject was missing RequiredPermissions annotation
Browse files Browse the repository at this point in the history
(cherry picked from commit 5f653740f0f2674cfd3185d7e17b343a0ef05c1b)
  • Loading branch information
Michael Burman committed Nov 22, 2016
1 parent c47289d commit 37dbb49
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -199,6 +199,7 @@ public Subject updateSubject(Subject whoami, Subject subjectToModify) {
return entityManager.merge(subjectToModify);
}

@RequiredPermission(Permission.MANAGE_SECURITY)
public Subject createSubject(Subject whoami, Subject subjectToCreate, String password) throws SubjectException,
EntityExistsException {
if (getSubjectByName(subjectToCreate.getName()) != null) {
Expand Down

0 comments on commit 37dbb49

Please sign in to comment.