Skip to main content
1-Visitor
April 20, 2015
Solved

Is there a CLI for setting policies for projects ?

  • April 20, 2015
  • 1 reply
  • 3915 views


I'm trying to automate the process for setting policies for our releases. I'm referring to policies that are setup when using the Admin Gui under the Configuration Management folder.

Message was edited by: Hector Magnanao

Best answer by KaelLizak

Hello Hector,

After discussion with some senior colleagues here, I think you probably want to use the si copypolicysection command, also documented in the link Peter gave above. This is a command new to 10.6, so if you're not on 10.6, you can't really copy it.

Please let us know if that gets you on the right track, or if you're still stuck.

Regards,
Kael

1 reply

5-Regular Member
April 21, 2015

There is a CLI command "si setpolicysection".

For details see the attached documentation.

hmagnanao1-VisitorAuthor
1-Visitor
April 21, 2015

I was looking at the documentation and it doesn't have a policy for branching. I'd like to use it with a template that is already defined for a policy.

16-Pearl
April 28, 2015

Hello Hector,

Just to make sure I understand, are you talking about configuring policies for users and groups on a project and sub-project basis? Or are you talking about trying to use one user's/group's ACL configuration as a template for another group's?

Regards,

Kael