Permission Troubles with Trackers
Hi
I struggle with visibility of trackeritems, that need to be visible for all but editable for creators (registered users) only. unfortunatley they are only visible to anonymous users, but not visible to registered user - except the items they are creators of.
My goal is a RegistrationSystem for Projects: prototype
I allow each user to register his/her own project on this webpage. So far I implemented this with the help of a tracker:
first I request the user to register, and demand his/her email adress as the username. after login (authorisation via email) the user gets access to a registration form made with the
{TRACKER(trackerId="2" url="UserProjectList" view="user")}Vielen Dank für deine Idee, wir sind gespannt sie zu lesen!{TRACKER}
after saving the tracker the user is allowed to edit the registration. for this I set the permissions of the tracker like this:
[TRACKER] trackerId = 2 name = Project description = descriptionIsParsed = n useExplicitNames = n showStatus = n defaultStatus = oshowStatusAdminOnly = y outboundEmail = xxx@maybites.ch simpleEmail = n newItemStatus = o modItemStatus = writerCanModify = y writerGroupCanModify = n showCreated = n showLastModif = n defaultOrderKey = 25 defaultOrderDir = asc useComments = n showComments = n useAttachments = n showAttachments = n attachmentsconf = 0,1,3,0,2,0,0,0 useRatings = n ratingOptions = categories =
the important part in problem - to which I come shortly - ;-) would be
writerCanModify = y
since this makes sure (if I understand properly) that each user can edit his/her own project.
after the registration process has been finished, the tracker item will be set "pending" and a few invisible fields are to be set by the admin. one of this fields allows to set the project as beeing "selected". once this process is done as well, the item will be set "close" and now it will appear inside this two links:
http://unbuiltroads.maybites.ch/tiki-index.php?page=projects
and
http://unbuiltroads.maybites.ch/tiki-index.php?page=selection
the difference: while the "projects" page will show all the edited projects, the "selection" page will filter and show only those with the "selection-field" set "selected".
this all works just sweet, and If you go as an unregistered visitor, you will be able to see all the projects(tracker-items) in those webpages, but once you register, you can only see your own project. since there will be also a voting and comment function built in for each project (again their own trackers) the users have to register, but cannot see the projects...
you can test this yourself:
http://unbuiltroads.maybites.ch
testuser@gmail / testuser
or create your own login.
the only work around I can see is to dissallow the users to edit their own tracker item and switch of the
writerCanModify = y -> n
but maybe somebody knows a permission that would sort my problem?
ps:
and strange enough, when using looking at the selection, no project at all will appear. it is as if the filter filters too much...