Revision [19659]
This is an old revision of AdminActions made by OlivierBorowski on 2008-03-17 12:57:41.
Administration of Actions
This is the development page for the action administration module.
Main goals of this module
- allow finegrained access control on actions (preferably based on ACLs)
- make the "intranet" directory obsolete
- allow WikkaEdit to retrieve the list of installed actions and for each action its description, parameters...
Needed metadata
- action short name = tag name (eg : "files")
- action name (eg : "File upload form")
- action description (eg : "Display a form with file attachments to the current page.")
- parameter 1 short name (eg : "download")
- parameter 1 description (eg : "prints a link to the file specified in the string")
- parameter 1 mandatory (or optional) (boolean)
How metadata are updated
For each action in "/action" directory, the header of the action file is read (eg : "/action/image/image.php")Action file header contains all the required metadata, prefixed by a specific tag.
How metadata are stored
Parsing the "/action" directory on each request is too slow. Moreover, additional data like action ACLs can't be stored in the file itself.We may add an "action" table to the database.
CategoryDevelopment