diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-10-24 15:20:36 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-10-24 15:20:36 +0000 |
commit | 43915f5de0ae60da41615a3edacca18cd85dd921 (patch) | |
tree | 0eb4d66c612feaea5b4d789d3293012447afe07c /app/acf-util/roles-viewroles-html.lsp | |
parent | 062423a2cd98a8c1dfd23453853bf73b8db1b180 (diff) | |
download | acf-core-43915f5de0ae60da41615a3edacca18cd85dd921.tar.bz2 acf-core-43915f5de0ae60da41615a3edacca18cd85dd921.tar.xz |
Minor change to roles code and major change to roles. Replaced ALL, CREATE, READ, UPDATE, and DELETE with GUEST, USER, EDITOR, EXPERT, and ADMIN. Changed all roles files and modified some html files to hide options without permissions. Determine default roles from roles files, rather than hard-coded, and added ability to modify default roles by adding permissions.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1563 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/acf-util/roles-viewroles-html.lsp')
-rw-r--r-- | app/acf-util/roles-viewroles-html.lsp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/acf-util/roles-viewroles-html.lsp b/app/acf-util/roles-viewroles-html.lsp index 8b9a10f..0334499 100644 --- a/app/acf-util/roles-viewroles-html.lsp +++ b/app/acf-util/roles-viewroles-html.lsp @@ -18,9 +18,10 @@ <% if view.value.default_roles then %> <dl> <% for x,role in pairs(view.value.default_roles.value) do %> - <dt><img src='/static/tango/16x16/categories/applications-system.png' height='16' width='16'> <%= role %></dt> + <dt><img src='/skins/static/tango/16x16/categories/applications-system.png' height='16' width='16'> <%= role %></dt> <dd> [<a href='viewroleperms?role=<%= role %>'>View this role</a>] + [<a href='editrole?role=<%= role %>&redir=<%= page_info.orig_action %>'>Edit this role</a>] </dd> <% end %> </dl> @@ -29,7 +30,7 @@ <dl> <% table.sort(view.value.defined_roles.value) %> <% for x,role in pairs(view.value.defined_roles.value) do %> - <dt><img src='/static/tango/16x16/apps/system-users.png' height='16' width='16'> <%= role %></dt> + <dt><img src='/skins/static/tango/16x16/apps/system-users.png' height='16' width='16'> <%= role %></dt> <dd> [<a href='viewroleperms?role=<%= role %>'>View this role</a>] [<a href='editrole?role=<%= role %>&redir=<%= page_info.orig_action %>'>Edit this role</a>] |