only allow staff,admin,manger to create tmpe card
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s
This commit is contained in:
@@ -184,12 +184,9 @@ class IssuedCards(
|
|||||||
propertyAccess.requireAnyRole(
|
propertyAccess.requireAnyRole(
|
||||||
propertyId,
|
propertyId,
|
||||||
principal.userId,
|
principal.userId,
|
||||||
|
Role.STAFF,
|
||||||
Role.ADMIN,
|
Role.ADMIN,
|
||||||
Role.MANAGER,
|
Role.MANAGER,
|
||||||
Role.STAFF,
|
|
||||||
Role.HOUSEKEEPING,
|
|
||||||
Role.FINANCE,
|
|
||||||
Role.GUIDE,
|
|
||||||
Role.SUPERVISOR
|
Role.SUPERVISOR
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user