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

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If true, a user can only read/write information about himself: needs admin permissions to change objects for other users
  • Element Details

    • onlySelf

      boolean onlySelf
      If 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