infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Global Monitor
Global Monitor
Restrict Remote User Commands to a single command
Shane Farney
I have a couple scripts that would be useful to some interface users and my thought is to get them access to them somehow in Global Monitor. What I know will work is the Remote User Commands widget, but I don't want to let the user have access to all of our other Cloverleaf "stuff" and have something bad happen if they ran anything other than a handful of select scripts.
Here's an example: we have a shell script that takes in two arguments - one is a table name, the other your email address. Running that command will email you a comma separated list of the values in the table.
Is it possible to restrict Remote User Commands to a specific set of commands? If not, how else could this be done?
THANKS!!!
Find more posts tagged with
Clovertech
Comments
Peter Heggie
If you or someone there is good at Java coding, I think the GM code API provides a userid context. I need to double check that. You could verify which users are entering a command and if they have the appropriate permissions. I have seen Java programs that query Windows Active Directory to check group memberships, so I know it is possible.
I'm not sure how you could limit the commands entered in the command window without coding something somewhere.
You can put widgets in certain Views, and then limit the Views to certain users. But once a user has access to the widget, anything can be typed in there.
Peter Heggie
Part of the context available to a Java Plug-In is the username. There is also an attribute called 'permissions' but I don't know what that is.