summaryrefslogtreecommitdiffstats
path: root/app/acf-util/roles-controller.lua
Commit message (Collapse)AuthorAgeFilesLines
* Modify roles to use cfe type structure rather than table for consistencyTed Trask2016-01-121-1/+1
|
* Change HTML views to use htmlviewfunctions.displayheaderTed Trask2014-03-031-3/+3
|
* Remove all calls to 'module' in preparation for move to Lua 5.2Ted Trask2013-10-171-11/+12
| | | | | Use mymodule parameter for module definition. This was also helpfule in revealing places where the code relied on the global environment.
* Modified roles controller to use new handle_form functionTed Trask2012-04-231-9/+3
|
* Removed controllerfunction.lua and moved handle_form and handle_clientdata ↵Ted Trask2012-02-231-3/+2
| | | | | | into mvc.lua mvc.lua has generic versions of the functions, overridden in acf_www and acf_cli with customizations
* Put viewroles in a table, changed some wording for new roles and users.Ted Trask2009-09-071-1/+1
|
* Modified viewfunctions to split displayform, creating displayformstart and ↵Ted Trask2008-10-221-2/+2
| | | | | | displayformend, to provide flexibility while still using the library. Also added support for hidden fields - including a common redir field. Removed redirectOnSuccess from controllerfunctions handle_form, and replaced it with the redir field. Removed redirectOnSuccess from controllers that used it and added handlecommandresults and redir entries to links and forms throughout many views. This will cause a redirect to the originating view when a form is successfully completed. acf_www-controller now includes orig_action in page_info to report the original action launched by the user. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1560 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles and authenticator to delete all data fields when deleting a ↵Ted Trask2008-08-161-3/+3
| | | | | | 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
* Modifed roles to use controllerfunctions, modelfunctions, and a symlink.Ted Trask2008-07-121-45/+12
| | | | 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-18/+28
| | | | | | 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-73/+11
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1100 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated rolesTed Trask2008-05-021-4/+109
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1099 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles, logon, and authenticatorTed Trask2008-05-011-2/+31
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1095 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Replaced all list_redir functions with redirect in mvc.lua, implemented a ↵Ted Trask2008-04-241-0/+2
| | | | | | default_action string in each controller, removing the on_load functions git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1037 ab2d0c66-481e-0410-8bed-d214d4d58bed
* CleanupTed Trask2008-04-221-1/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1031 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Ted's Logon/permissions changesTed Trask2008-04-211-10/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1030 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding the beingings of the authorization items. Also adding some of the ↵Mike Mason2008-02-041-0/+20
updates to the Autentication. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@689 ab2d0c66-481e-0410-8bed-d214d4d58bed