summaryrefslogtreecommitdiffstats
path: root/app/acf-util/roles-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Modified roles controller to use new handle_form functionTed Trask2012-04-231-13/+51
|
* Added home page (action) to user parameters and redirect there after loginTed Trask2010-10-061-31/+2
| | | | Moved get_all_permissions function from acf-util/roles-model to lib/roles
* Made major changes to authenticator and roles to improve efficiency.Ted Trask2010-09-281-1/+2
| | | | | | | | | | Changed authenticator.lua to request individual users, rather than always loading everyone. Modified get_userinfo and removed get_userinfo_roles and get_userinfo_skin to remove unnecessary cfe processing. This was especially bad when retrieving the cfe options for skins and roles. This does break the interface used by other modules like acf-tinydns. Validation and cfe processing were moved into password-model, where they belong. Added global variables to authenticator and roles libraries so they can reuse data that was already generated. Modified logon-controller to only check for zero users if logon fails.
* Modified permissions from controller:action to prefix/controller/action.Ted Trask2009-12-211-7/+10
| | | | | Had to move welcome to the acf-util prefix. Changed format of roles files: old ACF format will still work, but authenticator format won't.
* Minor change to roles code and major change to roles. Replaced ALL, CREATE, ↵Ted Trask2008-10-241-2/+5
| | | | | | 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
* Modified roles and authenticator to delete all data fields when deleting a ↵Ted Trask2008-08-161-10/+10
| | | | | | role or user. Modified all roles code to pass self for future move from text file to database. Roles cannot use authenticator unless or until roles file syntax is changed. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1382 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles to list views that don't have actions in the list of ↵Ted Trask2008-08-091-1/+8
| | | | | | available permissions git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1374 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Split common code out of authenticator-plaintext into authenticator.lua in ↵Ted Trask2008-07-221-2/+2
| | | | | | preparation for adding SQL authentication. Rewrote authentication functions to use cfe's. Made corresponding changes to roles and logon. Added dnsfiles field to userdata for tinydns access control. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1314 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modifed roles to use controllerfunctions, modelfunctions, and a symlink.Ted Trask2008-07-121-12/+15
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1298 ab2d0c66-481e-0410-8bed-d214d4d58bed
* For cfe.type='form', use cfe.option as the command to save the form data ↵Ted Trask2008-05-151-25/+31
| | | | | | i.e. can be used as button name. Modified pages that use 'form' to also use 'option'. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1122 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Finished user and role managementTed Trask2008-05-051-10/+81
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1100 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles, logon, and authenticatorTed Trask2008-05-011-3/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1095 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Ted's Logon/permissions changesTed Trask2008-04-211-13/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1030 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up the session management and expiration items. Will be more bug ↵Mike Mason2008-02-071-1/+1
| | | | | | fixes/changes to come... git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@706 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added the full roles to the sessiondata.Mike Mason2008-02-051-1/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@696 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding the beingings of the authorization items. Also adding some of the ↵Mike Mason2008-02-041-0/+25
updates to the Autentication. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@689 ab2d0c66-481e-0410-8bed-d214d4d58bed