Package org.cyclos.impl.access
Annotation Type PermissionFor
-
@Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface PermissionFor
Annotation for defining permissions required to execute a given method
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description RoleroleThe role the specified permissions are toPermission[]valueChecks the given permission if the logged user has the role specified byrole()
-
-
-
Element Detail
-
role
Role role
The role the specified permissions are to
-
-
-
value
Permission[] value
Checks the given permission if the logged user has the role specified byrole()
-
-