Annotation Type HasAllPermissions


  • @Target({METHOD,TYPE})
    @Retention(RUNTIME)
    public @interface HasAllPermissions
    Annotations that applications can use to indicate that a certain method or all methods of a class require all permissions from the list.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String[] actions
      Actions the current subject is trying to execute.
      Class<? extends org.craftercms.commons.security.permissions.Permission> type
      The permission type, which indicates the PermissionEvaluator to use for permission evaluation.
    • Element Detail

      • type

        Class<? extends org.craftercms.commons.security.permissions.Permission> type
        The permission type, which indicates the PermissionEvaluator to use for permission evaluation.
      • actions

        String[] actions
        Actions the current subject is trying to execute.