## Uses of Class
org.apache.cassandra.auth.Permission

- Packages that use Permission
  Package | Description
  --- | ---
  org.apache.cassandra.auth |
  org.apache.cassandra.cql3.statements |
  org.apache.cassandra.service |

- - ### Uses of Permission in org.apache.cassandra.auth

    Fields in org.apache.cassandra.auth declared as Permission
    Modifier and Type | Field and Description
    --- | ---
    `Permission` | PermissionDetails.`permission`

    Fields in org.apache.cassandra.auth with type parameters of type Permission
    Modifier and Type | Field and Description
    --- | ---
    `static java.util.Set<Permission>` | Permission.`ALL`
    `static java.util.Set<Permission>` | Permission.`NONE`

    Methods in org.apache.cassandra.auth that return Permission
    Modifier and Type | Method and Description
    --- | ---
    `static Permission` | Permission.`valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static Permission[]` | Permission.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.cassandra.auth that return types with arguments of type Permission
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<Permission>` | DataResource.`applicablePermissions()`
    `java.util.Set<Permission>` | FunctionResource.`applicablePermissions()`
    `java.util.Set<Permission>` | IResource.`applicablePermissions()` Returns the set of Permissions that may be applied to this resource Certain permissions are not applicable to particular types of resources.
    `java.util.Set<Permission>` | RoleResource.`applicablePermissions()`
    `java.util.Set<Permission>` | AllowAllAuthorizer.`authorize(AuthenticatedUser user, IResource resource)`
    `java.util.Set<Permission>` | CassandraAuthorizer.`authorize(AuthenticatedUser user, IResource resource)`
    `java.util.Set<Permission>` | IAuthorizer.`authorize(AuthenticatedUser user, IResource resource)` Returns a set of permissions of a user on a resource.
    `java.util.Set<Permission>` | PermissionsCache.`getPermissions(AuthenticatedUser user, IResource resource)`
    `java.util.Set<Permission>` | AuthenticatedUser.`getPermissions(IResource resource)`

    Method parameters in org.apache.cassandra.auth with type arguments of type Permission
    Modifier and Type | Method and Description
    --- | ---
    `void` | AllowAllAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource to)`
    `void` | CassandraAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)`
    `void` | IAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)` Grants a set of permissions on a resource to a role.
    `java.util.Set<PermissionDetails>` | AllowAllAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource of)`
    `java.util.Set<PermissionDetails>` | CassandraAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)`
    `java.util.Set<PermissionDetails>` | IAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)` Returns a list of permissions on a resource granted to a role.
    `void` | AllowAllAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource from)`
    `void` | CassandraAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource revokee)`
    `void` | IAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource revokee)` Revokes a set of permissions on a resource from a user.

    Constructors in org.apache.cassandra.auth with parameters of type Permission
    Constructor and Description
    `PermissionDetails(java.lang.String grantee, IResource resource, Permission permission)`

  - ### Uses of Permission in org.apache.cassandra.cql3.statements

    Fields in org.apache.cassandra.cql3.statements with type parameters of type Permission
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.Set<Permission>` | ListPermissionsStatement.`permissions`
    `protected java.util.Set<Permission>` | PermissionsManagementStatement.`permissions`

    Methods in org.apache.cassandra.cql3.statements with parameters of type Permission
    Modifier and Type | Method and Description
    --- | ---
    `void` | AuthenticationStatement.`checkPermission(ClientState state, Permission required, RoleResource resource)`

    Constructor parameters in org.apache.cassandra.cql3.statements with type arguments of type Permission
    Constructor and Description
    `GrantPermissionsStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee)`
    `ListPermissionsStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee, boolean recursive)`
    `PermissionsManagementStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee)`
    `RevokePermissionsStatement(java.util.Set<Permission> permissions, IResource resource, RoleName grantee)`

  - ### Uses of Permission in org.apache.cassandra.service

    Methods in org.apache.cassandra.service with parameters of type Permission
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientState.`ensureHasPermission(Permission permission, Function function)`
    `void` | ClientState.`ensureHasPermission(Permission perm, IResource resource)`
    `void` | ClientState.`hasAllKeyspacesAccess(Permission perm)`
    `void` | ClientState.`hasColumnFamilyAccess(java.lang.String keyspace, java.lang.String columnFamily, Permission perm)`
    `void` | ClientState.`hasKeyspaceAccess(java.lang.String keyspace, Permission perm)`

Copyright © 2018 The Apache Software Foundation