Add missing method call in authorization docs

This commit is contained in:
Federico Herrera 2023-12-08 12:55:11 -03:00 committed by Josh Cummings
parent 92be497d24
commit 7b67476153
1 changed files with 2 additions and 1 deletions

View File

@ -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