We used
SpacePermission permissionView = SpacePermission.createGroupSpacePermission(SpacePermission.VIEWSPACE_PERMISSION, space, groupName);
space.addPermission(permissionView);
I just had a look into the API.
The enum you use is deprecated:
Perhaps this could be the problem.
If not, please reach out to the atlassian developer community. They will help you more :)
Regards, Dominic
hello, I am using
public class com.atlassian.confluence.security.SpacePermission
in this class we have
public static final java.lang.String VIEWSPACE_PERMISSION = "VIEWSPACE";
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.