0 votes

Is there a way to use the "Super Manager" role and only allow the execution of certain Custom Commands?

Right now I think if I want to do that I need to create a new role with less than "Full Control" on all Objects and then allow the permissions on each object type.

I'm wondering if there is another way to do this without having to go through that. Putting a Deny doesn't seem to work and later I don't want to Deny individual actions.

Can you restrict access to a container or custom commands?

by (790 points)

1 Answer

0 votes
by (289k points)

Hello,

For a specific existing Security Role to grant permissions only to execute specific Custom Commands, you need to remove all the other permissions from the role and then add the permissions for the commands. For information on how to grant permissions to execute Custom Commands, have a look at the following tutorial: https://www.adaxes.com/tutorials_DelegatingPermissions_GrantRightsToExecuteCustomCommands.htm.

For your information, Deny permissions always override the Allow ones. It means that if there is a role assigned to a user allowing them to perform a specific operation (e.g. execute a Custom Command) and another role denying the very same permission, the user will not be able to perform the operation.

Related questions

0 votes
1 answer

I have a few reports that I want to add to a custom command workflow such that the report is executed and exported to a csv in a pre-defined (variable) path. I was ... a script to run the report and export it, but could not locate information on that process.

asked Oct 28 by aweight (60 points)
0 votes
1 answer

I have a scheduled task that runs a custom command that itself has multiple custom commands that run in a specific timed order. I would like the scheduler to run that top level ... , but Command B and C will wait for Command A to finish. Is this possible?

asked Jul 23 by DA-symplr (100 points)
0 votes
1 answer

Hello, Is it possible to execute a custom command after creating a user, with the intention to prompt the end user for more information? For example we have a User ... would then prompt for a 'Country' to be specified from a param dropdown list. Thanks

asked Mar 10, 2022 by bavery (250 points)
0 votes
1 answer

I would like to add the following logic into a Powershell script that will be triggered on 'After Create User'. Read the value of the 'title' property of the user just created ... 'True' or 'False'. Could you assist with how to script this please? Many thanks.

asked May 1, 2020 by Bernie (310 points)
0 votes
1 answer

Hi, I followed this example: https://www.adaxes.com/sdk/IAdmTop6.html, but because the Custom Command is disabled, I get the following error message: System.Management.Automation ... if I enable the Custom Command. I am using Adaxes 2018.2 Best Regards Martin

asked Feb 19, 2020 by Martin (150 points)
3,551 questions
3,242 answers
8,240 comments
547,827 users