- Extends
- xWebQueryHandler
- Modifiers
- config
Core.Object
|
+-- Engine.xAdminBase
|
+-- XWebAdmin.xWebQueryHandler
|
+-- XWebAdmin.xWebQueryAdmins
Functions Summary |
| bool | CheckPrivilegeGroup (string MainPriv, string SubPrivs)
|
| string | FixPrivs (WebRequest Request, string oldprivs)
|
| string | GetGroupOptions (xAdminGroupList xGroups, string grpsel)
|
| string | GetGroupsForBrowse (WebResponse Response)
|
| string | GetPrivsHeader (string privs, string text, bool cond, string tag)
|
| string | GetPrivsItem (string privs, string text, bool cond, string tag, optional bool bReadOnly)
|
| string | GetPrivsTable (string privs, optional bool bNoEdit)
|
| string | GetUsersForBrowse (WebResponse Response)
|
| string | MakePrivsTable (xPrivilegeBase PM, string privs, bool bReadOnly)
|
| ObjectArray | ManagedUsers ()
|
| bool | Query (WebRequest Request, WebResponse Response)
|
| | QueryAdminsFrame (WebRequest Request, WebResponse Response)
|
| | QueryAdminsMenu (WebRequest Request, WebResponse Response)
|
| | QueryGroupsAddPage (WebRequest Request, WebResponse Response)
|
| | QueryGroupsBrowsePage (WebRequest Request, WebResponse Response)
|
| | QueryGroupsEditPage (WebRequest Request, WebResponse Response)
|
| | QueryUserAccountPage (WebRequest Request, WebResponse Response)
|
| | QueryUsersAddPage (WebRequest Request, WebResponse Response)
|
| | QueryUsersBrowsePage (WebRequest Request, WebResponse Response)
|
| | QueryUsersEditPage (WebRequest Request, WebResponse Response)
|
| | QueryUsersGroupsPage (WebRequest Request, WebResponse Response)
|
| | QueryUsersHomePage (WebRequest Request, WebResponse Response)
|
| | QueryUsersMGroupsPage (WebRequest Request, WebResponse Response)
|
var localized string AddGroupButton;
var localized string AddGroupTitle;
var localized string AddUserButton;
var localized string AddUserTitle;
var localized string AdminAccountTitle;
var localized string AdminHomeTitle;
var localized string AdminNotFound;
var localized string AdminPageTitle;
var config string AdminsIndexPage;
var localized string BrowseGroupsTitle;
var localized string BrowseUsersTitle;
var localized string CannotAssignHigher;
var localized string CannotAssignPrivs;
var localized string CouldNotCreate;
var localized string Deleting;
var localized string DoesNotExist;
var localized string EditGroupButton;
var localized string EditGroupTitle;
var localized string EditUserButton;
var localized string EditUserTitle;
var localized string Group;
var localized string GroupNotFound;
var localized string GroupRemoved;
var localized string Groups;
var config string GroupsAddPage;
var config string GroupsBrowsePage;
var config string GroupsEditPage;
var localized string InsufficientPrivs;
var localized string InvalidCharacters;
var localized string InvalidItem;
var localized string Managed;
var localized string Modify;
var localized string ModifyMUserGroup;
var localized string ModifyUserGroup;
var localized string NameExists;
var localized string NameText;
var localized string NegSecLevel;
var localized string NoneItemText;
var localized string NoneText;
var localized string NoteAccountPage;
var localized string NoteGroupAccessPage;
var localized string NoteGroupAddPage;
var localized string NoteGroupEditPage;
var localized string NoteGroupsBrowsePage;
var localized string NoteMGroupAccessPage;
var localized string NoteUserAddPage;
var localized string NoteUserEditPage;
var localized string NoteUserHomePage;
var localized string NoteUsersBrowsePage;
var localized string PasswordError;
var localized string Privileges;
var config string PrivilegeTable;
var localized string PrivTitle;
var localized string SecurityLevel;
var localized string User;
var localized string UserRemoved;
var config string UsersAccountPage;
var config string UsersAddPage;
var config string UsersBrowsePage;
var config string UsersEditPage;
var config string UsersGroupsPage;
var config string UsersHomePage;
var config string UsersMGroupsPage;
var localized string YouMustSelect;
struct RowGroup
{
var array<string> rows;
};
function bool CheckPrivilegeGroup ( string MainPriv, string SubPrivs )
function string FixPrivs (
WebRequest Request,
string oldprivs )
function string GetGroupsForBrowse (
WebResponse Response )
function string GetPrivsHeader ( string privs, string text, bool cond, string tag )
function string GetPrivsItem ( string privs, string text, bool cond, string tag, optional bool bReadOnly )
function string GetPrivsTable ( string privs, optional bool bNoEdit )
function string GetUsersForBrowse (
WebResponse Response )
function string MakePrivsTable (
xPrivilegeBase PM,
string privs,
bool bReadOnly )
defaultproperties
{
AdminsIndexPage="admins_menu"
UsersHomePage="admins_home"
UsersAccountPage="admins_account"
UsersAddPage="users_add"
UsersBrowsePage="users_browse"
UsersEditPage="users_edit"
UsersGroupsPage="users_groups"
UsersMGroupsPage="users_mgroups"
GroupsAddPage="groups_add"
GroupsBrowsePage="groups_browse"
GroupsEditPage="groups_edit"
PrivilegeTable="admins_priv_table"
NoteUserHomePage="Welcome to Admins & Groups Management"
NoteAccountPage="Here you can change your password if required. You can also see which privileges were assigned to you by your manager."
NoteUserAddPage="As an Admin of this server you can add new Admins and give them privileges. Make sure that the password assigned to the new Admin is not easy to hack."
NoteUserEditPage="As an Admin of this server you can modify information and privileges for another Admin that you can manage."
NoteUsersBrowsePage="Here you can see other Admins that you can manage and modify their privilege and groups assignment."
NoteGroupAddPage="You can create new groups which will have a common set of privileges. Groups are used to give the same privileges to multiple Admins."
NoteGroupEditPage="You can modify which privileges were assigned to this group. Note that you can only change privileges that you have yourself."
NoteGroupsBrowsePage="Here you can see all the groups that you can manage, click on a group name to modify it."
NoteGroupAccessPage="Here you can decide in which groups the selected admin will be part of. This will decide which base privileges this admin will have."
NoteMGroupAccessPage="Here you can decide which groups this admin will be able to manage. He will be able to assign other admins to this group."
NameText="Name"
Deleting="deleting"
Group="group"
Groups="Groups"
User="user"
Modify="modify"
Managed="Managed "
Privileges="Privileges"
SecurityLevel="Security Level"
AdminPageTitle="Users & Groups Management"
AdminHomeTitle="Admin Home Page"
AdminAccountTitle="Account"
BrowseUsersTitle="Browse Available Users"
BrowseGroupsTitle="Browse Available Groups"
AddUserTitle="Add a New Administrator"
AddUserButton="Add Admin"
AddGroupTitle="Add New Administration Group"
AddGroupButton="Add Group"
EditUserTitle="Modify an Administrator"
EditUserButton="Modify Admin"
EditGroupTitle="Modify an Administration Group"
EditGroupButton="Modify Group"
ModifyUserGroup="Modify Groups for"
ModifyMUserGroup="Modify Managed Groups for"
UserRemoved="User '%UserName%' was removed!"
GroupRemoved="Group '%GroupName%' was removed!"
AdminNotFound="Admin Not Found"
GroupNotFound="Group Not Found"
PrivTitle="Insufficient Privileges"
NoneText="*** None ***"
NoneItemText="** There are no %Item%s to list **"
PasswordError="Invalid characters in password or password not at least 6 characters."
InsufficientPrivs="Your privileges prevent you from %Action% this %Item%."
InvalidItem="Invalid %Item% name specified!"
InvalidCharacters="Invalid characters in %Item% name!"
NameExists="Must specify a unique name for"
YouMustSelect="You must select a"
DoesNotExist="The selected %Item% does not exist!"
CouldNotCreate="Exceptional error creating new"
NegSecLevel="Negative security level is invalid!"
CannotAssignHigher="You cannot assign a security level higher than yours"
CannotAssignPrivs="You cannot assign privileges"
DefaultPage="adminsframe"
Title="Admins & Groups"
NeededPrivs="A|G|Al|Aa|Ae|Ag|Am|Gl|Ga|Ge"
}
|
Creation time: Mo 16.4.2007 11:20:38.187 - Created with
UnCodeX