Hello,
I'm tring to update the sitestore permissions through Java Api and If the roles not available I have to add the roles using Add group.
select sitestore->extras->change permissions
SiteStoreRoot root = (SiteStoreRoot) project.getUserService().getStore(Store.Type.SITESTORE, false);
root.getDefinedPrincipalPermissions();\\returns the list of groups in store
Permission permission = root.getPermission(group);
permission.canChangePermission());//return the field values
But how to set values to the fields and how to add the groups using JavaApi?
FYR,