|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.Permissions
public final class Permissions
| Field Summary | |
|---|---|
static java.lang.String |
ALL_PERMISSIONS
Represents all the permissions in one. |
static java.lang.String |
EXECUTE_JAVA
A permission to execute java code. |
static java.lang.String |
GENERATE_ANY_HTML
A permission to generate arbitrary HTML. |
| Method Summary | |
|---|---|
static Plugin |
addPermission(Plugin plugin,
java.lang.String permission,
InstallationMode mode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ALL_PERMISSIONS
Represents all the permissions in one. This is useful for plugins before version 3 which by default require all permissions.
It is not a good idea to use this as a plugin developer, as this is a way internally to define permissions for legacy plugins.
public static final java.lang.String EXECUTE_JAVA
public static final java.lang.String GENERATE_ANY_HTML
A permission to generate arbitrary HTML.
Generating arbitrary HTML can be a security threat hence why it would require such permission.
| Method Detail |
|---|
public static Plugin addPermission(Plugin plugin,
java.lang.String permission,
InstallationMode mode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||