Duplicating a Security Role

StatusIDPriorityType
Closed25412TrivialFeature
ProfileReply
SteveClient

We've implemented the Xafari Security System. Is there a method available for duplicating/cloning a security role?

Many of our customers create multiple roles that only differ slightly. Cloning the role and just making minor changes would be far more user friendly than recreating the roles from scratch each time.

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Agent

Hello Steve,

Thanks for contacting us.

This issue you can solve if make next settings:
- add CloneObjectModule in Module,
- set IsCloneable=true for your object of security
(as example)

[MapInheritance(MapInheritanceType.ParentTable)]
public class InheritedRole : XafariSecuritySystemRole
{
public InheritedRole(Session session) : base(session) { }
}

And we recommend you refer to Clone Object Module.

We hope you find this information helpful.
Feel free to contact us if you need further assistance or have additional questions.
Thanks, Sasha.

× This ticket is closed.

Write US