mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Site Service: expose methods to get group names and available site roles
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -566,6 +566,18 @@ public class SiteServiceImplTest extends BaseAlfrescoSpringTest
|
||||
assertEquals(ForumModel.TYPE_FORUM, nodeService.getType(container8));
|
||||
}
|
||||
|
||||
public void testSiteGetRoles()
|
||||
{
|
||||
List<String> roles = this.siteService.getSiteRoles();
|
||||
assertNotNull(roles);
|
||||
assertFalse(roles.isEmpty());
|
||||
|
||||
// for (String role : roles)
|
||||
// {
|
||||
// System.out.println("Role: " + role);
|
||||
// }
|
||||
}
|
||||
|
||||
// == Test the JavaScript API ==
|
||||
|
||||
public void testJSAPI() throws Exception
|
||||
|
Reference in New Issue
Block a user