Skip to content

Commit

Permalink
Add missing method call in authorization docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Herrera authored and jzheaux committed Dec 8, 2023
1 parent 92be497 commit 7b67476
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ static RoleHierarchy roleHierarchy() {
return RoleHierarchyImpl.withDefaultRolePrefix()
.role("ADMIN").implies("STAFF")
.role("STAFF").implies("USER")
.role("USER").implies("GUEST");
.role("USER").implies("GUEST")
.build();
}
// and, if using method security also add
Expand Down

0 comments on commit 7b67476

Please sign in to comment.