[Vtigercrm-developers] Programatically create roles from profiles

Hamono, Chris (DPC) Chris.Hamono at sa.gov.au
Wed Apr 29 04:37:38 GMT 2015


Bump

Anyone?

Chris

From: vtigercrm-developers-bounces at lists.vtigercrm.com [mailto:vtigercrm-developers-bounces at lists.vtigercrm.com] On Behalf Of Hamono, Chris (DPC)
Sent: Tuesday, 28 April 2015 11:01 AM
To: vtigercrm-developers at lists.vtigercrm.com
Subject: [Vtigercrm-developers] Programatically create roles and assign profiles

Hi All

How can I programmatically create a role based on an existing profile?

We have a need that each time an organisation is created a set of roles need to be created which are only for that organisation.

Each organisation has 5 roles based on 5 predefined profiles

We have 300 organisations we need to create so that's 1500 roles.

Maintenance of these roles would be overly complicated so I am looking to automate much of it.

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150429/61c14724/attachment.html>


More information about the vtigercrm-developers mailing list