Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.admin
Interface IACLContributor

All Known Implementing Classes:
ACLContributor, ACLContributor, ACLContributor, ACLContributor, ACLContributor, DameACLBeisteller

public interface IACLContributor

An ACLContributor declares a List of AccessControlElements it will use. Such Elements will define rights a user has, and will be editable via the administrator UI (Settings tab "groups and rights"). The names of such ACE's can be chosen freely and thus might collide. In such case, the framework will assign them on a first-come-first-serve basis. Thus, the second client requesting the same verb will get a reject.

Author:
gerry

Method Summary
 ACE[] getACL()
          return the ACL to be used by this extension
 ACE[] reject(ACE[] acl)
          The framework will call this method if one ore more of the transmitted ACL's could not be integrated (illegal name or duplicate)
 

Method Detail

getACL

ACE[] getACL()
return the ACL to be used by this extension

Returns:
an array of all ACE's to insert

reject

ACE[] reject(ACE[] acl)
The framework will call this method if one ore more of the transmitted ACL's could not be integrated (illegal name or duplicate)

Parameters:
acl - array of all rejected acls (these have not been integrated)
Returns:
the plugin can return an array of corrected acls or null.

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis