-- 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 /$!
Hi
Thank you so much for posting the solution, we would like to restrict users to a zone level. We are wondering what the following two lines mean?
ECLASS SITE DEPT
ACLASS ALL
Could we use/modify these two lines to to restrict users operations at a zone level or is there any other scripts we should be using?
Thanks in advance,
Jason