org.kuali.rice.krms.impl.authorization
Interface AgendaAuthorizationService

All Known Implementing Classes:
AgendaAuthorizationServiceImpl

public interface AgendaAuthorizationService

This class contains the authorization for KRMS Agendas


Method Summary
 boolean isAuthorized(String permissionName, String contextId)
          Checks if the current user is authorized to perform the action on an agenda in the specified context.
 

Method Detail

isAuthorized

boolean isAuthorized(String permissionName,
                     String contextId)
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


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.