Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

CLI: Setting page restrictions using CLI

Jakob Erber October 11, 2012

Hello,

we would like to restrict page modifikation for pages to a group of admins, which are member of an ldap-group.

Is it possible to add this restriction to pages using the CLI Interface?

1 answer

1 accepted

0 votes
Answer accepted
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 11, 2012

Yes, see addPermissions . And there are a few examples on the Examples page

Jakob Erber October 11, 2012

Thx Bob, how would i form the command to get this page rights:

All rights for the group but only view+comments for all others.

Sorry if I keep coming. You could save me a lot trial and error.

Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 11, 2012

Page level permissions/restrictions only cover view and edit rights. So add edit restriction for the group. Everything else is based on space level permissions. Something like:

--action addPermissions --group "XXXX" --permissions edit --space XXXX --title "XXXXXXX"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events