Summary
General tidy of the edit script. Added support for referencing internal references between pages - using these for finding a suitable thumbnail for an item.
Changes
- Tidy up the edit page.
- Merged the two files used for editing datasets (/inc/add_dataset.inc.php) and categories (/inc/categories.inc.php) to create /inc/edit.inc.php which can add and edit either.
- Stored reference written in one page to another, able to extract references for images in dataitems by using the "thumbs" attribute in the "dataset" widget.
TODO
- Support for /edit.inc.php to accept modified parameters so that user form scripts can use the handlers with the data from this script.
- Set controls for members and groups
* An article can have access options (view,mod,delete) defined for itself and for its children.
* An individuals access options restrictions are based upon initially they're default UID access settings (if any) OR the group access they are assigned to (But which one has preference?)
USE CASE: changing a user
A user registers.
- They're access is specified by the default group settings for individual category and articles.
A user is promoted to another group
- A user is promoted to another group and adopts the controls. Group access rights overide restrictions.
We want to reduce the users access.
- Assign them to another group which has less access available. (note this will be no less than the default settings)
Remove the users access entirely.
- Select the user and edit their default status (aka their access rights) e.g. none,view,default,superuser.
USE CASE: creating a new group
Create a new group
- Edit form for members and groups to appear on Kadmin