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);
        }
Пример #2
0
        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);

            if (!Procedure_IsPermitted.Exists(this))
            {
                ProgramLog.Admin.Log("Permission procedure does not exist and will now be created");
                Procedure_IsPermitted.Create(this);
            }
        }
        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);

            if (!Procedure_IsPermitted.Exists(this))
            {
                ProgramLog.Admin.Log("Permission procedure does not exist and will now be created");
                Procedure_IsPermitted.Create(this);
            }
        }