Page Categories, the solution
October 8th, 2006 by Dario Solera | Filed under Development, Software Design.Finally, the Page categorization has been implemented in a nice way (in my opinion). Just a brief description of the behavior, which presents four different cases, depending on the configuration:
- A User cannot modify the Categories that are assigned to a Page
- A User can only assign newly created Categories to a Page (i.e. he/she can create a new Category and assign it to the Page, in addition to previous assigned Categories that cannot be removed)
- A User can only assign existing Categories to a Page
- A User can assign both newly created and existing Categories to a Page
This is achieved with just two options in the configuration page (two checkboxes).
The Administrators can also perform renaming and deletion of Categories. They also can merge two Categories (keeping the name of one of the two), for example to easily correct categorization errors or to change the Wiki logical structure. There will also be an option to set one or more default categories for new Pages; this way the Administrators have full control on the categorization of both the existing and new Pages.
If a User has not the rights to edit a Page (because it’s Locked), he/she cannot (obviously) edit the Categories. I also want to point out that Public Pages with unregistered users behave the same way as Normal Pages with registered Users, both for editing and categorization.


