@Target(value={METHOD,FIELD,TYPE,PACKAGE}) @Retention(value=RUNTIME) @Inherited public @interface UpdatePermission
Modifier and Type | Optional Element and Description |
---|---|
String |
expression
An expression of checks that will be parsed via ANTLR.
|
public abstract String expression
@UpdatePermission(expression="Prefab.Role.All")
or
@UpdatePermission(expression="Prefab.Role.All and Prefab.Role.UpdateOnCreate")
All of the built-in checks are name-spaced as
Prefab.CHECK
without the Check
suffixCopyright © 2015–2021 Yahoo! Inc.. All rights reserved.