*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface PermissionInterface

All Superinterfaces:
Serializable

@SASScope("ALL") @BinaryCompatibilityOnly public interface PermissionInterface extends Serializable
Permission interface.
Since:
1.1
  • Field Details

    • TYPE_GRANT

      static final String TYPE_GRANT
      Grant a permission to an identity or identities
      See Also:
    • TYPE_DENY

      static final String TYPE_DENY
      Deny a permission to an identity or identities.
      See Also:
    • TYPE_REMOVE

      static final String TYPE_REMOVE
      This is a special type used by the new ISecurityAdmin interface for removing authorization records from an object.
      See Also:
    • PERMISSION_READMETADATA

      static final String PERMISSION_READMETADATA
      Permission string representing read permission on metadata.
      See Also:
    • PERMISSION_WRITEMETADATA

      static final String PERMISSION_WRITEMETADATA
      Permission string representing write permission on metadata.
      See Also:
    • PERMISSION_ADMINMETADATA

      static final String PERMISSION_ADMINMETADATA
      Deprecated.
      The metadata server no longer supports this permission and it should be removed from any application that is using it.
      Permission string representing admin permission on metadata.
      See Also:
    • PERMISSION_WRITEMEMBERMETADATA

      static final String PERMISSION_WRITEMEMBERMETADATA
      This is a folder-specific permission that can be used to control who can create content in a folder.
      See Also:
    • PERMISSION_ADMINISTER

      static final String PERMISSION_ADMINISTER
      The remaining definitions are application permissions, and their precise semantics are application defined.
      See Also:
    • PERMISSION_ALTER_TABLE

      static final String PERMISSION_ALTER_TABLE
      See Also:
    • PERMISSION_CHECKINMETADATA

      static final String PERMISSION_CHECKINMETADATA
      See Also:
    • PERMISSION_CREATE

      static final String PERMISSION_CREATE
      See Also:
    • PERMISSION_CREATE_TABLE

      static final String PERMISSION_CREATE_TABLE
      See Also:
    • PERMISSION_DELETE

      static final String PERMISSION_DELETE
      See Also:
    • PERMISSION_DROP_TABLE

      static final String PERMISSION_DROP_TABLE
      See Also:
    • PERMISSION_EXECUTE

      static final String PERMISSION_EXECUTE
      See Also:
    • PERMISSION_INSERT

      static final String PERMISSION_INSERT
      See Also:
    • PERMISSION_READ

      static final String PERMISSION_READ
      See Also:
    • PERMISSION_REFERENCES

      static final String PERMISSION_REFERENCES
      See Also:
    • PERMISSION_SELECT

      static final String PERMISSION_SELECT
      See Also:
    • PERMISSION_UPDATE

      static final String PERMISSION_UPDATE
      See Also:
    • PERMISSION_WRITE

      static final String PERMISSION_WRITE
      See Also:
  • Method Details

    • getAction

      String getAction()
      Get the Action that this permission grants or denys.
      Returns:
      The action string for this permission.
    • getType

      String getType()
      Get the type of permission. This should be GRANT or DENY.
      Returns:
      the permission type.
    • getOwningObject

      MetadataInterface getOwningObject()
      Get the object that this permission is directly owned by. In OMR, this will be an AccessControlEntry.
      Returns:
      a MetadataInterface object that owns this permission.