Settings a default category and forcing some users to set category
I have the following use case:
Only registered users have access to the wiki.
There is a group for advanced users, let's call it "Admins".
The is a restricted category "Admins" that only admins can see.
My target is that "Admins" always have to select a category when they create a new page. I do not want to bother normal registered users with category selection so they should post to no category or a default category (by default).
Here is what I found out so far:
- it is possible to create a default category for a group. However for some reason this setting only works for users who have that group as "default group" which - as far as I can tell - is not possible to automate. So I would have to give them this default group manually whenever a new user registers. The solution would be a "default default group". Either way the "default group" setting is very confusing and almost undocumented.
- If I manually give registered users this default group with a default category, the wiki pages created by them will automatically get that category. However if I then enable the check that each page must have a category, that check is evaluated before the automatic assignment of the default category is done. So in a nutshell Tiki the current behaviour is this: \\
- User creates page
- User tries to save page without setting category
- Tiki does not set the default category
- Tiki complains about a missing category
When the correct behaviour would be
- User creates pages
- User tries to save page without setting category
- Tiki assigns default category
- Tiki saves the page with the category without bothering the user
Is that the intended behaviour?
Does anyone have any hints on how to enforce this? Another idea I had was using a perspective that only adds the "enforce a category" for "Admins". However I found no way to force a perspective on a group of users.
Looking forward to your replies!