adding permission objects in v2.0
I use a (heavily customized) version of Tiki v2.0 on my site (www.OpenAerospace.org
). Since I've spend so much effort on hacking v2.0 (it took me over a year to get it right), I don't really plan on upgrading to v3.0. However, I would like to add more fine-grained permissions in some areas.
For example, I want registered users to be able to upload file attachments to wikis and view them, but I don't want them to be able to delete them (unless in the "moderator" group or some such). The only permission objects that currently exist are
- tiki_p_wiki_attach_files
- tiki_p_wiki_view_attachments
I would like to add a "tiki_p_wiki_edit_attachments" permission. Where in the tiki code can I find the definition of the permission objects to make the changes and add new ones? I know my way around the source code pretty well by now, but this one still escapes me.
Thanks for the help 😊.