User Security

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
mmarofsky
Posts:8
Joined: Tue Sep 02, 2014 6:12 pm

User Security

Post by mmarofsky »

General Question regarding security.

If a panel has a button which requires a certain user level to allow the button to be clicked.
What is the proper way to do this?

I had looked at the "getUserPermissions" function where I can interrogate the permission level of the active user and this seems to work.


- Mike.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: User Security

Post by leoknipp »

Hello,

you are right.
To check a permission during runtime in a CTRL script the function getUserPermission() is used.
You could also check the permission when opening the panel and set the button disabled.

Best Regards
Leopold Knipp
Senior Support Specialist

mmarofsky
Posts:8
Joined: Tue Sep 02, 2014 6:12 pm

Re: User Security

Post by mmarofsky »

Thank you! I appreciate the response!

3 posts • Page 1 of 1