mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
64416: Merged WAT1 (4.3/Cloud) to HEAD-BUG-FIX (4.3/Cloud) 61735: ACE-493: Made Sites Public REST API Get method callable by Admins or by users that are made members of the new "Site Admin" group. ACE-503: Created a new PUT method in Sites Public REST API, such that it is possible to modify the visibility of a site. ACE-511: Created a new DELETE method in Sites Public REST API, such that it is possible to delete a site. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -510,4 +510,15 @@ public interface SiteService
|
||||
|
||||
@NotAuditable
|
||||
int countAuthoritiesWithRole(String shortName, String role);
|
||||
|
||||
/**
|
||||
* Indicates whether the specified user is a site administrator or not.
|
||||
* <p>
|
||||
* Note: The super/repo admin is considered to be a site administrator too.
|
||||
*
|
||||
* @param userName The user name
|
||||
* @return true if the specified user is a 'site administrator', false otherwise
|
||||
*/
|
||||
@NotAuditable
|
||||
boolean isSiteAdmin(String userName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user