DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Classes | |
class | GrantCacheKey |
Public Member Functions | |
PrivilegeManager (IQuery queryContext) | |
void | Dispose () |
void | GrantToUser (string userName, Grant grant) |
Privileges | GetUserPrivileges (string userName, DbObjectType objectType, ObjectName objectName, bool withOption) |
void | RevokeFromUser (string userName, Grant grant) |
void | GrantToGroup (string groupName, Grant grant) |
void | RevokeFromGroup (string groupName, Grant grant) |
Privileges | GetGroupPrivileges (string groupName, DbObjectType objectType, ObjectName objectName) |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Properties | |
IQuery | QueryContext [get, private set] |
Private Member Functions | |
~PrivilegeManager () | |
void | UpdateUserGrants (DbObjectType objectType, ObjectName objectName, string granter, string grantee, Privileges privileges, bool withOption) |
void | ClearUserGrantsCache (string userName, DbObjectType objectType, ObjectName objectName, bool withOption, bool withPublic) |
void | ClearUserGrantsCache (string userName) |
bool | TryGetPrivilegesFromCache (string userName, DbObjectType objectType, ObjectName objectName, bool withOption, bool withPublic, out Privileges privileges) |
void | SetPrivilegesInCache (string userName, DbObjectType objectType, ObjectName objectName, bool withOption, bool withPublic, Privileges privileges) |
void | RevokeAllGrantsFromUser (DbObjectType objectType, ObjectName objectName, string revoker, string user, bool withOption=false) |
Privileges | QueryUserPrivileges (string userName, DbObjectType objectType, ObjectName objectName, bool withOption, bool withPublic) |
Privileges | QueryGroupPrivileges (string groupName, DbObjectType objectType, ObjectName objectName, bool withOption, bool withPublic) |
Static Private Member Functions | |
static void | UpdateGrants (IQuery queryContext, IMutableTable grantTable, DbObjectType objectType, ObjectName objectName, string granter, string grantee, Privileges privileges, bool withOption) |
static void | RevokeAllGrants (IQuery queryContext, IMutableTable grantTable, DbObjectType objectType, ObjectName objectName, string revoker, string user, bool withOption=false) |
static Privileges | QueryPrivileges (IQuery queryContext, ITable grantTable, string grantee, DbObjectType objectType, ObjectName objectName, bool withOption, bool withPublic) |
Private Attributes | |
Dictionary< GrantCacheKey, Privileges > | grantsCache |
Dictionary< string, Privileges > | groupsPrivilegesCache |
Definition at line 27 of file PrivilegeManager.cs.
|
inline |
Definition at line 31 of file PrivilegeManager.cs.
|
inlineprivate |
Definition at line 35 of file PrivilegeManager.cs.
|
inlineprivate |
Definition at line 133 of file PrivilegeManager.cs.
|
inlineprivate |
Definition at line 141 of file PrivilegeManager.cs.
|
inline |
Definition at line 41 of file PrivilegeManager.cs.
|
inlineprotectedvirtual |
Definition at line 54 of file PrivilegeManager.cs.
|
inline |
Implements Deveel.Data.Security.IPrivilegeManager.
Definition at line 331 of file PrivilegeManager.cs.
|
inline |
Implements Deveel.Data.Security.IPrivilegeManager.
Definition at line 302 of file PrivilegeManager.cs.
|
inline |
Implements Deveel.Data.Security.IPrivilegeManager.
Definition at line 323 of file PrivilegeManager.cs.
|
inline |
Implements Deveel.Data.Security.IPrivilegeManager.
Definition at line 151 of file PrivilegeManager.cs.
|
inlineprivate |
Definition at line 296 of file PrivilegeManager.cs.
|
inlinestaticprivate |
Definition at line 237 of file PrivilegeManager.cs.
|
inlineprivate |
Definition at line 289 of file PrivilegeManager.cs.
|
inlinestaticprivate |
Definition at line 75 of file PrivilegeManager.cs.
|
inlineprivate |
Definition at line 188 of file PrivilegeManager.cs.
|
inline |
Implements Deveel.Data.Security.IPrivilegeManager.
Definition at line 327 of file PrivilegeManager.cs.
|
inline |
Implements Deveel.Data.Security.IPrivilegeManager.
Definition at line 312 of file PrivilegeManager.cs.
|
inlineprivate |
Definition at line 179 of file PrivilegeManager.cs.
|
inlineprivate |
Definition at line 168 of file PrivilegeManager.cs.
|
inlinestaticprivate |
Definition at line 58 of file PrivilegeManager.cs.
|
inlineprivate |
Definition at line 123 of file PrivilegeManager.cs.
|
private |
Definition at line 28 of file PrivilegeManager.cs.
|
private |
Definition at line 29 of file PrivilegeManager.cs.
|
getprivate set |
Definition at line 39 of file PrivilegeManager.cs.