8

Is there a way in the GUI to set permissions on multiple Categories at once or will it require Core Service code (example)?

I have to set about 40+ to set to all the same permission-set.

  • Managed to knock something together using the example I linked to. – Neil Mar 21 '14 at 9:46
  • Cool. If the set includes multiple groups you might also consider consolidating or grouping them into fewer groups to simplify changes across Category access. – Alvin Reyes Mar 21 '14 at 20:16
8

AFAIK, there is no straight forward way to do so in GUI, you may need to write a Core Service code for it.

  • 1
    Sounds like a perfect use case for Powershell. – Nickoli Roussakov Mar 20 '14 at 17:07
  • Yes - I've done it with Powershell ages ago - I'll try to tidy my script up a bit and share it somewhere. – Dominic Cronin Mar 21 '14 at 11:48
9

There is no way to do this in the standard GUI, however, please see my blog article on the subject, where I show how to do this from a relatively straightforward Powershell script.

With some boilerplate code in place, the script to set permissions on a category ends up looking like this:

$catPermsTest = $core.Read("/webdav/01%20Definitions/PermsTest", $defaultReadOptions)
addPermissions $group $catPermsTest Read
  • Excellent Post Dom :) – Pankaj Gaur Mar 24 '14 at 8:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.