Interface AgendaAuthorizationService
- All Known Implementing Classes:
AgendaAuthorizationServiceImpl
public interface AgendaAuthorizationService
This class contains the authorization for KRMS Agendas
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthorized(String permissionName, String contextId) Checks if the current user is authorized to perform the action on an agenda in the specified context.
-
Method Details
-
isAuthorized
Checks if the current user is authorized to perform the action on an agenda in the specified context. When the contextId is unknown (i.e. at initiation of a new Agenda document) then null should be passed as the contextId. On save the authorization needs to be checked again with the contextId. The business rules should have taken care of this.- Parameters:
permissionName-contextId-- Returns:
- true if current user is authorized, false otherwise
-