void InitialisePermissions() { _groups = new GroupTable(); _nodes = new PermissionTable(); _userPerms = new UserPermissionsTable(); _groupPerms = new GroupPermissionsTable(); _users = new UserGroupsTable(); _nodes.Initialise(this); _userPerms.Initialise(this); _groupPerms.Initialise(this); _users.Initialise(this); //Used to create default permissions _groups.Initialise(this); // try // { // ProgramLog.Error.Log("tdsm.help: " + IsPermitted("tdsm.help", true, "DeathCradle")); // ProgramLog.Error.Log("tdsm.oplogin: "******"tdsm.oplogin", true, "DeathCradle")); // ProgramLog.Error.Log("tdsm.exit: " + IsPermitted("tdsm.exit", true, "DeathCradle")); // ProgramLog.Error.Log("tdsm.exit,a: " + IsPermitted("tdsm.exit", false, "DeathCradle")); // } // catch (Exception e) // { // ProgramLog.Log(e); // } }
void InitialisePermissions() { _groups = new GroupTable(); _nodes = new PermissionTable(); _userPerms = new UserPermissions(); _groupPerms = new GroupPermissions(); _users = new UsersTable(); _groups.Initialise(this); _nodes.Initialise(this); _userPerms.Initialise(this); _groupPerms.Initialise(this); _users.Initialise(this); }
void InitialisePermissions() { _groups = new GroupTable(); _nodes = new PermissionTable(); _userPerms = new UserPermissionsTable(); _groupPerms = new GroupPermissionsTable(); _users = new UserGroupsTable(); _groups.Initialise(this); _nodes.Initialise(this); _userPerms.Initialise(this); _groupPerms.Initialise(this); _users.Initialise(this); ProgramLog.Error.Log("tdsm.help: " + IsPermitted("tdsm.help", true, "DeathCradle")); ProgramLog.Error.Log("tdsm.oplogin: "******"tdsm.oplogin", true, "DeathCradle")); ProgramLog.Error.Log("tdsm.exit: " + IsPermitted("tdsm.exit", true, "DeathCradle")); ProgramLog.Error.Log("tdsm.exit,a: " + IsPermitted("tdsm.exit", false, "DeathCradle")); }