We used SpacePermission permissionView = SpacePermission.createGroupSpacePermission(SpacePermission.VIEWSPACE_PERMISSION, space, groupName);space.addPermission(permissionView);
Hi @Satnam singh aujla
I just had a look into the API.
The enum you use is deprecated:
https://docs.atlassian.com/ConfluenceServer/javadoc/7.12.4/com/atlassian/confluence/it/SpacePermission.html
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 havepublic static final java.lang.String VIEWSPACE_PERMISSION = "VIEWSPACE";
It looks like you're new here. Sign in or register to get started.