public class AddPermission extends Object implements ExecutableCliCommand
Usage: appng add-permission [options]
Options:
* -n
The permission(s) to add, multiple values can be provided (separated by
space).
* -a
The application name.
* -r
The role name.
| Modifier | Constructor and Description |
|---|---|
|
AddPermission() |
protected |
AddPermission(String applicationName,
String roleName,
List<String> permissionNames) |
public void execute(CliEnvironment cle) throws BusinessException
ExecutableCliCommandexecute in interface ExecutableCliCommandcle - the CliEnvironment to useBusinessException - if on error occurs while executing the commandCopyright © 2011–2023 aiticon GmbH. All rights reserved.