mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-07 18:25:23 +00:00
11509: ETHREEOH-394: Incorrect message in activity feed when user accepts an invitation to a site 11510: Fix to set position 11511: Fix for ETHREEOH-533: Dialogs access via ExternalAccessServlet return to blank empty container.jsp page when Close button is clicked 11512: Fix DM ACL deletion after merge forward for shared and defining ACLs. 11513: Merged V2.2 to V3.0 11501: Expose if set permissions are inherited or not and fix relatd behaviour for import/copy 11514: Fix for ETHREEOH-476 (Impossible to create Site Invite Workflow) & ETHREEOH-254 (Default value at 'Start Advanced Workflow Wizard' page) 11515: Fix for ETHREEOH-446 and ETHREEOH-447 11517: Fix for ETHREEOH-225: Web Forms with repeating elements don't work 11518: Merged V2.2 to V3.0 11343: ACL upgrades may require a COW - it now warns when this happens. 11369: Always lock against staging - ETWOTWO-763 11519: Merged V2.2 to V3.0 11467: Fixed ETWOTWO-774: CreateVersionTxnListener.afterCommit() throws NPE 11468: More defensive coding on AVM txn listeners (avoid NPEs) 11475: More defensive checks to avoid NPE 11520: Merged V2.2 to V3.0 11478: Keep creator and owner as orihinally set in AVM - Fix for ETWOTWO-604 11521: RuntimeExec: Added optional directive SPLIT: to force argument tokenization 11522: Limited tests to just check the command format not execute it for "dir . .." 11523: Undid revision 11520 (Merged V2.2 11478) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12449 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88 lines
2.5 KiB
Java
88 lines
2.5 KiB
Java
/*
|
|
* Copyright (C) 2005-2007 Alfresco Software Limited.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
* As a special exception to the terms and conditions of version 2.0 of
|
|
* the GPL, you may redistribute this Program in connection with Free/Libre
|
|
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
|
* FLOSS exception. You should have recieved a copy of the text describing
|
|
* the FLOSS exception, and it is also available here:
|
|
* http://www.alfresco.com/legal/licensing"
|
|
*/
|
|
package org.alfresco.service.cmr.security;
|
|
|
|
|
|
/**
|
|
* The interface used to support reporting back if permissions are allowed or
|
|
* denied.
|
|
*
|
|
* @author Andy Hind
|
|
*/
|
|
public interface AccessPermission
|
|
{
|
|
/**
|
|
* The permission.
|
|
*
|
|
* @return
|
|
*/
|
|
public String getPermission();
|
|
|
|
/**
|
|
* Get the Access enumeration value
|
|
*
|
|
* @return
|
|
*/
|
|
public AccessStatus getAccessStatus();
|
|
|
|
|
|
/**
|
|
* Get the authority to which this permission applies.
|
|
*
|
|
* @return
|
|
*/
|
|
public String getAuthority();
|
|
|
|
|
|
/**
|
|
* Get the type of authority to which this permission applies.
|
|
*
|
|
* @return
|
|
*/
|
|
public AuthorityType getAuthorityType();
|
|
|
|
|
|
/**
|
|
* At what position in the inheritance chain for permissions is this permission set?
|
|
* = 0 -> Set direct on the object.
|
|
* > 0 -> Inherited
|
|
* < 0 -> We don't know and are using this object for reporting (e.g. the actual permissions that apply to a node for the current user)
|
|
* @return
|
|
*/
|
|
public int getPosition();
|
|
|
|
/**
|
|
* Is this an inherited permission entry?
|
|
* @return
|
|
*/
|
|
public boolean isInherited();
|
|
|
|
/**
|
|
* Is this permission set on the object?
|
|
* @return
|
|
*/
|
|
public boolean isSetDirectly();
|
|
}
|