[Tiki-devel] Auto assign category field value using the tracker plugin (permission issue)
Bsfez Tiki via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I don’t use a lot the tracker plugin so may be I'm missing something… I have a form with a tracker plugin the user use to register to an event and create an item within a category in a category item field. (category(17), 2021 for exemple) The plugin tracker provide an autosave option and it is possible to set it to autosave a category. It took me sometimes (because of an exit page bug occurring only if I fill the form as admin 😜) but only if I’m admin it is assigned properly. Object (items) created by users are not assigned to the category (it stays null). So I checked one by one permissions. * permission field : unchanged (visible by all) * permissions to this object (tracker), assigned : Can change the categories of an object (tiki_p_modify_object_categories) => not working * permission for the father category and the category, assigned : Can add objects to the category (tiki_p_modify_object_categories permission required) (tiki_p_add_object) => not working * global permission for categories, assigned : Can add objects to the category (tiki_p_modify_object_categories permission required) (tiki_p_add_object) => not working * global permission for Tiki, assigned : Can change the categories of an object (tiki_p_modify_object_categories) => not working Ahem… I tested with a user login and out and refreshing cache each time. 1/ What am I missing here ? 2/ Considering the autosave function and the cascade and unwanted consequences of granting unwanted permissions, would’t it make sense that if the "boss" 😜 auto-assign a category (or a pref) on a tracker item it is assigned without regards of the item creator permissions ? Overall, I don’t want my user to touch categories, I just want to force assign a category on item creation. How do you overcome such issue ? Bernard _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel