Interface PrivilegesRepository
public interface PrivilegesRepository
API to maintain the Polaris system-wide mapping of privilege names to and from integer IDs.
Implementation is provided as an @ApplicationScoped bean.
-
Method Summary
Modifier and TypeMethodDescription@NonNull PrivilegesMappingbooleanupdatePrivilegesMapping(@NonNull PrivilegesMapping expectedState, @NonNull PrivilegesMapping newState)
-
Method Details
-
fetchPrivilegesMapping
@NonNull PrivilegesMapping fetchPrivilegesMapping() -
updatePrivilegesMapping
boolean updatePrivilegesMapping(@NonNull PrivilegesMapping expectedState, @NonNull PrivilegesMapping newState)
-