FR [ 1763726 ] Don't show Script for non-administrators
This commit is contained in:
parent
bcbbc8e99f
commit
52ed306eaa
|
@ -403,7 +403,9 @@ public final class AMenu extends CFrame
|
|||
AEnv.addMenuItem("Calculator", null, null, mTools, this);
|
||||
AEnv.addMenuItem("Calendar", null, null, mTools, this);
|
||||
AEnv.addMenuItem("Editor", null, null, mTools, this);
|
||||
AEnv.addMenuItem("Script", null, null, mTools, this);
|
||||
MUser user = MUser.get(Env.getCtx());
|
||||
if (user.isAdministrator())
|
||||
AEnv.addMenuItem("Script", null, null, mTools, this);
|
||||
if (AEnv.isWorkflowProcess())
|
||||
AEnv.addMenuItem("WorkFlow", null, null, mTools, this);
|
||||
if (MRole.getDefault().isShowPreference())
|
||||
|
|
Loading…
Reference in New Issue