Package ch.aaap.harvestclient.api
Annotation Interface Api.Permission
- Enclosing interface:
- Api
public static @interface Api.Permission
Describes the kind of role the user of the api needs.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
If true, a user can only read/write information about himself: needs admin permissions to change objects for other users
-
Element Details
-
value
Api.Role value
-
-
-
onlySelf
boolean onlySelfIf true, a user can only read/write information about himself: needs admin permissions to change objects for other users- Returns:
- the current value
- Default:
- false
-