com.tibco.tea.agent.annotations

## Annotation Type TeaPrivilege

-     @Retention(value=RUNTIME)
       @Target(value=TYPE)
      public @interface TeaPrivilege

  Default privilege contributed by agent type. Defined privileges will be available in TEA Server after given agent time will be registered for the first time and will be removed last agent of given type is unregistered. The privilege can be changed by the TEA Server administrator after it is created.
  If given privilege already exists on the server, it will be ignored.
  This annotation can be grouped using `TeaPrivileges` grouping annotation.

- - ### Field Summary

    Fields
    Modifier and Type | Fields and Description
    --- | ---
    `static String` | `FULL_CONTROL`
    `static String` | `READ`

  - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String[]` | `permissions` list of permissions granted by this privilege

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `objectType` object type to which this privilege applies to

- - ### Field Detail

    - #### READ

          public static final String READ

  - - #### FULL_CONTROL

          public static final String FULL_CONTROL

  - ### Element Detail

    - #### permissions

          public abstract String[] permissions

      list of permissions granted by this privilege

  - - #### objectType

          public abstract String objectType

      object type to which this privilege applies to
      Default:
        "all"

Copyright © 2022 TIBCO Software Inc.. All Rights Reserved.