Jump to content

Restrict access to script


This topic is 4734 days old. Please don't post here. Open a new topic instead.

Recommended Posts

We have developed a task management system.

It includes a script, which marks all found tasks as "Invoiced".

Once a task has been marked as "Invoiced" those with Operator Access cannot make further changes to the task.

We would like to create a button to perform the script that marks the tasks as "Invoiced" BUT only want one user (the finance manager) to be able to activate this button. This person would not have Full Access in other areas though.

I expect this is a pretty basic priveleges question, howwever it's not an area I've had to address other than Full access or operator access before.

Link to comment
Share on other sites

Take a look in the privileges set up, there is an option to control access to scripts on a per-script basis. This will require making 2 privilege sets, one with execute access to the script, the other not, and making sure the right person's account is linked to the right privilege set.

Link to comment
Share on other sites

You can test for either Get( AccountPrivilegeSetName ) or Get( AccountName ) at the top of your script, and branch accordingly.

Link to comment
Share on other sites

This topic is 4734 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.