copy the permissions on folders from once cascade instance to another

usmanehsan0613's Avatar

usmanehsan0613

10 Nov, 2015 12:11 PM

Hi,

I have two cascades instances running. cascades (dev) and cascades (production). the permissions for each folder are configured in dev instance. I want to copy all those persmissions in production. How this could be done via webservices efficiently so there is no chance of error. Please share some example source code in php or asp.net.

Looking forward.

Thanks
Uthman

  1. 1 Posted by Wing Ming Chan on 10 Nov, 2015 03:45 PM

    Wing Ming Chan's Avatar

    Hi Uthman,

    For me, using my web service library, this will be very easy. The hard part for you is that you have to understand and learn to use various classes like AssetTree, Folder and Page first. And then you need to learn how to work with groups and users, and how to grant various kinds of permissions to them.

    You might want to join my Google hangout tutorial on web services. Details on Online Tutorials.

    Wing

  2. 2 Posted by usmanehsan0613 on 10 Nov, 2015 05:59 PM

    usmanehsan0613's Avatar

    Hi wing,

    Thanks for your reply.

    I was just wondering if there is something that cascades does provides officially to do such task.

    Regards,
    Uthman

  3. 3 Posted by Wing Ming Chan on 10 Nov, 2015 06:51 PM

    Wing Ming Chan's Avatar

    Transferring data between Cascade instances is a very difficult task, provided we can't use import/export. As far as I know, Cascade does not provide anything like that. It took me a year to write my library code just to do this.

    Wing

  4. Support Staff 4 Posted by Tim on 10 Nov, 2015 07:16 PM

    Tim's Avatar

    Hi guys,

    Wing is correct in that there isn't anything native in Cascade that will let you copy permissions objects outside of using Web Services.

  5. Tim closed this discussion on 30 Nov, 2015 02:31 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac