 |
Active Agenda Community "Controlling Loss, Not Minds, Methods, or Markets"
|
| View previous topic :: View next topic |
| Author |
Message |
zsimre
Joined: 03 Feb 2007 Posts: 169 Location: Hungary
|
Posted: Mon Jun 08, 2009 1:01 pm Post subject: anonymous mode |
|
|
Is there any (short) documentation available regarding to use of anonymous forms ?
I installed sgg module, created "anonymous" user, assigned permission to sgg module, logged in with "anonymous" user - and no change is visible, sgg is available with normal new-record form, user has "change password" option (anonymous user can not use password change feature)...
any short intro into anonymous mode would be appreciated
regards
Zsolt |
|
| Back to top |
|
 |
mattias Site Admin
Joined: 07 Mar 2005 Posts: 204
|
Posted: Mon Jun 08, 2009 7:49 pm Post subject: |
|
|
Hi Zsolt,
I haven't written a wiki article yet, but I can explain it here:
The "anonymous" functionality is meant to allow people to enter specific forms without logging in. You should be able to direct the anonymous users directly to the anonymous entry form (i.e. your link points directly to the anon edit form). Since the person hasn't logged in, the data that they save will be attributed to the anonymous user.
I think the "anonymous" user should not be able to use the log-in form, and should (of course) not be allowed to change passwords, set user preferences etc. That still needs to be implemented, however.
The link to the anonymous entry form in the Suggestions module would be something like:
| Code: | | anonedit.php?mdl=sgg&scr=Submit |
Hope this helps. I hope I haven't forgotten something important...
Cheers,
Mattias |
|
| Back to top |
|
 |
zsimre
Joined: 03 Feb 2007 Posts: 169 Location: Hungary
|
Posted: Tue Jun 09, 2009 2:01 am Post subject: thank you ! |
|
|
Hi Mattias,
thank you, that works.
In case of anonym user there is no reason to select organization and user is combo boxes, therefore I made some modifications in my a custom sgg:
- removed "RequireSelection" from orgID validation
- removed the PersonSubmitID from the UniquenessIndexName (and FieldRef)
- removed the fields OrgComboField and PersonComboField from AnonEditScreen
regards
Zsolt |
|
| Back to top |
|
 |
danzahlis Site Admin
Joined: 07 Mar 2005 Posts: 195 Location: California
|
Posted: Tue Jun 16, 2009 6:02 am Post subject: |
|
|
Thanks for your insights Zsolt. Mattias is in Sweden until next week.
Your observations about the validation and UniquenessIndexes bring up an interesting potential for conflict. I know Mattias is working on the UniquenessIndexes now, so this will be important for him to consider (e.g. when validation and/or a uniquenessindex conflicts with an anonymous form).
Thanks again. Hope you're having a good week...Dan
P.S. I have a good friend (from many years ago) that works for your bank in Austria. He was an exchange student in the US back in the early 1980's and we became pals. I just reconnected with him and learned that he has worked for the same bank since that time. It's a SMALL world! |
|
| Back to top |
|
 |
momeara
Joined: 20 Jun 2007 Posts: 21
|
Posted: Wed Jul 01, 2009 11:27 am Post subject: Re: thank you ! |
|
|
| zsimre wrote: | Hi Mattias,
thank you, that works.
In case of anonym user there is no reason to select organization and user is combo boxes, therefore I made some modifications in my a custom sgg:
- removed "RequireSelection" from orgID validation
- removed the PersonSubmitID from the UniquenessIndexName (and FieldRef)
- removed the fields OrgComboField and PersonComboField from AnonEditScreen
regards
Zsolt |
That makes sense for a sgg module. |
|
| Back to top |
|
 |
momeara
Joined: 20 Jun 2007 Posts: 21
|
Posted: Wed Jul 01, 2009 11:31 am Post subject: |
|
|
| danzahlis wrote: | | Your observations about the validation and UniquenessIndexes bring up an interesting potential for conflict. I know Mattias is working on the UniquenessIndexes now, so this will be important for him to consider (e.g. when validation and/or a uniquenessindex conflicts with an anonymous form). |
I've been considering anonymous use cases when creating modules, and relaxing validation requirements for that, but in most cases it makes sense because the anonymous form has the bare minimum required to be actionable, I see no reason to make the validation requirements stricter for an authenticated user.
The UniquenessIndexes may be a problem, but I know next to nothing about what Mattias has cooking there. I haven't worked with anything beyond build 1582 when he started that..
Mike |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|