1 package com.atlassian.plugin;
2
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Inherited;
5 import java.lang.annotation.Retention;
6 import java.lang.annotation.RetentionPolicy;
7 import java.lang.annotation.Target;
8
9 /**
10 * A list of permissions to fulfill.
11 *
12 * @see Permissions for a list of generic permissions
13 * @since 3.0.0
14 */
15 @Retention(RetentionPolicy.RUNTIME)
16 @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
17 @Inherited
18 public @interface RequirePermission {
19 String[] value();
20 }
21