java.lang.Object
org.nuxeo.ecm.automation.core.operations.document.AddPermission

public class AddPermission extends Object
Operation that adds a permission to a given ACL for a given user.
Since:
5.7.3
  • Field Details

    • ID

      public static final String ID
      See Also:
    • NOTIFY_KEY

      public static final String NOTIFY_KEY
      See Also:
    • COMMENT_KEY

      public static final String COMMENT_KEY
      See Also:
    • ALLOW_VIRTUAL_USER

      public static final String ALLOW_VIRTUAL_USER
      Configuration property name, which defines whether virtual user (non-existent user) is allowed in Nuxeo automation. If allowed, Nuxeo server will not check the user existence during automation execution. Set this property to true if you use Nuxeo computed user or computed group.
      Since:
      9.1
      See Also:
    • session

      protected CoreSession session
    • users

      protected StringList users
      Since:
      10.3
    • user

      @Deprecated protected String user
      Deprecated.
      since 10.3, use users instead.
    • email

      protected String email
      Since:
      8.1
    • permission

      protected String permission
    • aclName

      protected String aclName
    • begin

      protected Calendar begin
    • end

      protected Calendar end
    • blockInheritance

      protected boolean blockInheritance
    • notify

      protected boolean notify
    • comment

      protected String comment
  • Constructor Details

    • AddPermission

      public AddPermission()
  • Method Details