Provide Access of Site to particulate user

 
Parents
  • Copy the code below and Paste as Macro (Ctrl+M) into your Admin Module command line: This is just automated ACR creation, you can add or create manually if you choose to.
       -- Get the Current Project Informations
       !project  = CURRENT PROJECT
       !projCode = !project.code()
       
       -- Set CE to Role World
       /*RO
       LACR TRUE
       NEW ROLE /ALL_DESIGNERS
           DESC 'ALL DESIGN USERS'
           NEW PEROP /ALLOW_ALL_USERS
               OPCRE GRANT
               OPMOD GRANT
               OPDEL GRANT
               OPCLA GRANT
               OPISS GRANT
               OPDRO GRANT
               OPOUT GRANT
               OPEXP GRANT
               OPCOP GRANT
               ECLASS ALL
               ACLASS ALL
               COND ( true )
           END
           NEW PEROP /NO_SITE_DEPT
               OPCRE DENY
               OPMOD DENY
               OPDEL DENY
               ECLASS SITE DEPT
               ACLASS ALL
               COND ( true )
               ACRMESSAGE 'Action is restricted, You may ask your PDMS Administrator to perform the task.'
           END
       END
       
       -- Set CE to Scope World
       /*SC
       NEW SCOPE /$!
Reply
  • Copy the code below and Paste as Macro (Ctrl+M) into your Admin Module command line: This is just automated ACR creation, you can add or create manually if you choose to.
       -- Get the Current Project Informations
       !project  = CURRENT PROJECT
       !projCode = !project.code()
       
       -- Set CE to Role World
       /*RO
       LACR TRUE
       NEW ROLE /ALL_DESIGNERS
           DESC 'ALL DESIGN USERS'
           NEW PEROP /ALLOW_ALL_USERS
               OPCRE GRANT
               OPMOD GRANT
               OPDEL GRANT
               OPCLA GRANT
               OPISS GRANT
               OPDRO GRANT
               OPOUT GRANT
               OPEXP GRANT
               OPCOP GRANT
               ECLASS ALL
               ACLASS ALL
               COND ( true )
           END
           NEW PEROP /NO_SITE_DEPT
               OPCRE DENY
               OPMOD DENY
               OPDEL DENY
               ECLASS SITE DEPT
               ACLASS ALL
               COND ( true )
               ACRMESSAGE 'Action is restricted, You may ask your PDMS Administrator to perform the task.'
           END
       END
       
       -- Set CE to Scope World
       /*SC
       NEW SCOPE /$!
Children