only allow staff,admin,manger to create tmpe card
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s

This commit is contained in:
androidlover5842
2026-01-28 06:00:45 +05:30
parent 6001b009cd
commit dad1aa3131

View File

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