C# Class Deveel.Data.Security.PrivilegeManager

Inheritance: IPrivilegeManager
Datei anzeigen Open project: deveel/deveeldb

Public Methods

Method Description
Dispose ( ) : void
GetGrants ( string grantee, bool withPublic ) : Deveel.Data.Security.Grant[]
GetGrantsOn ( DbObjectType objectType, ObjectName objectName ) : Deveel.Data.Security.Grant[]
GetPrivileges ( string userName, DbObjectType objectType, ObjectName objectName, bool withOption ) : Privileges
Grant ( Grant grant ) : void
PrivilegeManager ( ISession session ) : System
Revoke ( Grant grant ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
QueryPrivileges ( IQuery queryContext, ITable grantTable, string grantee, DbObjectType objectType, ObjectName objectName, bool withOption, bool withPublic ) : Privileges
QueryUserPrivileges ( string userName, DbObjectType objectType, ObjectName objectName, bool withOption, bool withPublic ) : Privileges
RevokeAllGrants ( IQuery queryContext, IMutableTable grantTable, DbObjectType objectType, ObjectName objectName, string revoker, string grantee, bool withOption = false ) : void
RevokeAllGrantsFrom ( DbObjectType objectType, ObjectName objectName, string revoker, string grantee, bool withOption = false ) : void
UpdateGrants ( IQuery queryContext, IMutableTable grantTable, DbObjectType objectType, ObjectName objectName, string granter, string grantee, Privileges privileges, bool withOption ) : void
UpdateUserGrants ( DbObjectType objectType, ObjectName objectName, string granter, string grantee, Privileges privileges, bool withOption ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetGrants() public method

public GetGrants ( string grantee, bool withPublic ) : Deveel.Data.Security.Grant[]
grantee string
withPublic bool
return Deveel.Data.Security.Grant[]

GetGrantsOn() public method

public GetGrantsOn ( DbObjectType objectType, ObjectName objectName ) : Deveel.Data.Security.Grant[]
objectType DbObjectType
objectName ObjectName
return Deveel.Data.Security.Grant[]

GetPrivileges() public method

public GetPrivileges ( string userName, DbObjectType objectType, ObjectName objectName, bool withOption ) : Privileges
userName string
objectType DbObjectType
objectName ObjectName
withOption bool
return Privileges

Grant() public method

public Grant ( Grant grant ) : void
grant Grant
return void

PrivilegeManager() public method

public PrivilegeManager ( ISession session ) : System
session ISession
return System

Revoke() public method

public Revoke ( Grant grant ) : void
grant Grant
return void