DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Static Public Member Functions | Public Attributes | List of all members
Deveel.Data.Security.SystemGroups Class Reference

Static Public Member Functions

static void Create (IQuery context)
 
static bool IsSystemGroup (string groupName)
 

Public Attributes

const string LockGroup = "#locked"
 The name of the lock group. More...
 
const String SchemaManagerGroup = "schema_manager"
 The name of the schema manager group. More...
 
const string SecureGroup = "secure_access"
 THe name of the secure access group. More...
 
const string UserManagerGroup = "user_manager"
 The name of the user manager group. More...
 

Detailed Description

Definition at line 20 of file SystemGroups.cs.

Member Function Documentation

static void Deveel.Data.Security.SystemGroups.Create ( IQuery  context)
inlinestatic

Definition at line 57 of file SystemGroups.cs.

57  {
58  context.CreateUserGroup(SecureGroup);
59  context.CreateUserGroup(UserManagerGroup);
60  context.CreateUserGroup(SchemaManagerGroup);
61  context.CreateUserGroup(LockGroup);
62  }
const string LockGroup
The name of the lock group.
Definition: SystemGroups.cs:28
const String SchemaManagerGroup
The name of the schema manager group.
Definition: SystemGroups.cs:36
const string UserManagerGroup
The name of the user manager group.
Definition: SystemGroups.cs:55
const string SecureGroup
THe name of the secure access group.
Definition: SystemGroups.cs:46
static bool Deveel.Data.Security.SystemGroups.IsSystemGroup ( string  groupName)
inlinestatic

Definition at line 64 of file SystemGroups.cs.

64  {
65  return String.Equals(groupName, SecureGroup) ||
66  String.Equals(groupName, UserManagerGroup) ||
67  String.Equals(groupName, SchemaManagerGroup) ||
68  String.Equals(groupName, LockGroup);
69  }
const string LockGroup
The name of the lock group.
Definition: SystemGroups.cs:28
A long string in the system.
const String SchemaManagerGroup
The name of the schema manager group.
Definition: SystemGroups.cs:36
const string UserManagerGroup
The name of the user manager group.
Definition: SystemGroups.cs:55
const string SecureGroup
THe name of the secure access group.
Definition: SystemGroups.cs:46

Member Data Documentation

const string Deveel.Data.Security.SystemGroups.LockGroup = "#locked"

The name of the lock group.

If a user belongs to this group the user account is locked and they are not allowed to log into the database.

Definition at line 28 of file SystemGroups.cs.

const String Deveel.Data.Security.SystemGroups.SchemaManagerGroup = "schema_manager"

The name of the schema manager group.

Users that belong in this group can create and drop schema from the system.

Definition at line 36 of file SystemGroups.cs.

const string Deveel.Data.Security.SystemGroups.SecureGroup = "secure_access"

THe name of the secure access group.

If a user belongs to this group they are permitted to perform a number of privileged operations such as shutting down the database, and adding and removing users.

Definition at line 46 of file SystemGroups.cs.

const string Deveel.Data.Security.SystemGroups.UserManagerGroup = "user_manager"

The name of the user manager group.

Users that belong in this group can create, alter and drop users from the system.

Definition at line 55 of file SystemGroups.cs.


The documentation for this class was generated from the following file: