Controlling Access to Commands Based on Access Roles

You can specify which access roles can execute which commands.

For more information, see Role-Based Access to Commands.

To set role-based access to commands, update the ECADInteg-CSEDisabledCommands attribute for the ECADInteg-GlobalConfig object.

  1. Open an MQL window.
  2. To set the access roles that cannot execute commands, execute these commands:

    set context user creator;
    modify businessobject "ECADInteg-GlobalConfig" CadenceAllegroCISGlobal TEAM 
         "ECADInteg_CSEDisabledCommands" <COMMAND1>|<ACCESSROLE> <COMMAND2>|<ACCESSROLE>;

    Where:

    • <COMMAND> is one of the commands listed in Role-Based Access to Commands.
    • <ACCESSROLE> is a comma-separated list of the access roles that cannot access that command, enabled, or disabled.

    For example:

    modify "ECADInteg-GlobalConfig" CadenceAllegroCISGlobal TEAM "ECADInteg_CSEDisabledCommands"
    createworkspace|VPLMCreator,VPLMViewer 
    movefolder|VPLMCreator
    createfolder|disabled 
    assignfolder|enabled;