Exemplo n.º 1
0
        void InitialisePermissions()
        {
            _groups     = new GroupTable();
            _nodes      = new PermissionTable();
            _userPerms  = new UserPermissions();
            _groupPerms = new GroupPermissions();
            _users      = new UserGroupsTable();

            _nodes.Initialise(this);
            _userPerms.Initialise(this);
            _groupPerms.Initialise(this);
            _users.Initialise(this);

            //Used to create default permissions
            _groups.Initialise(this);

            //Initialise procedures
            Procedures.Init(this);
        }
        void InitialisePermissions()
        {
            _groups = new GroupTable();
            _nodes = new PermissionTable();
            _userPerms = new UserPermissions();
            _groupPerms = new GroupPermissions();
            _users = new UserGroupsTable();

            _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);
            }
        }
Exemplo n.º 3
0
        void InitialisePermissions()
        {
            _groups     = new GroupTable();
            _nodes      = new PermissionTable();
            _userPerms  = new UserPermissions();
            _groupPerms = new GroupPermissions();
            _users      = new UserGroupsTable();

            _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 UserGroupsTable();

            _nodes.Initialise(this);
            _userPerms.Initialise(this);
            _groupPerms.Initialise(this);
            _users.Initialise(this);

            //Used to create default permissions
            _groups.Initialise(this);

            //Initialise procedures
            Procedures.Init(this);
        }