#295 ✓resolved
Walter McGinnis

System Setting that designates actions that can be carried out as default anonymous user

Reported by Walter McGinnis | October 14th, 2010 @ 04:44 PM | in 1.3 (closed)

  • create system setting called "Allowed Anonymous Actions" that takes Array of hashes in form: [{:allowed_for => 'controller/action', :finished_after => 'controller/action'}, ... ]
  • recommend that site admins only use it for contact form and comments, but it should work with adding topics, etc.
  • create a special "anonymous" user, member only of site basket
  • alter account/login, if system setting is enabled, to provide form with captcha, email address/username stored in session cookie that logs in as anonymous user during allowed_for action
  • add an after filter for finished_after action that logs the anonymous user out
  • alter login check to not allow anonymous user except for allowed_for & finished_after actions
  • alter account/login to not allow standard login as anonymous
  • exclude anonymous user as being eligible for basket membership (possibly add mechanism for basket admins to allow anonymous members in future, but separate from membership adding mechanism?, i.e. basket preference triggers it)
  • provide upgrade task that adds anonymous user and makes them a member of site basket
  • current_user may need to be altered to return email address/user_name from session rather than standard model methods
  • update functionality that doesn't allow for site admin to be deleted to not allow anonymous user to be deleted

Comments and changes to this ticket

  • Walter McGinnis

    Walter McGinnis November 9th, 2010 @ 01:56 PM

    We refer to the public (non-registered users) as "anonymous" for the purposes of this functionality, though we ask them for optional information about themselves.

    Implementation difference is that we added fields to contribution model to store an anonymous creator's email address, website, and name. Also altered link_to_contributions_of helper to use anonymous user's website if available, etc.

    Some CSS layout polish on login/your info page would be good still.

    In future integrating login/your info into a flattened ajaxy comment form might be good.

    Right now, as per the spec, the anonymous user CANNOT be added as a member to other baskets than the site basket. The only scenario where I can see this is as valuable is if a basket should can allow anonymous (the unauthenticated public) to add material such as images or topics to a basket other than the site. I would rather remove this limitation only if someone requests it.

    This functionality will be merged into the enhancement_269_refactoring_for_adds_on branch and will be merged into master along with that code.

  • Walter McGinnis

    Walter McGinnis November 12th, 2010 @ 05:29 PM

    • State changed from “new” to “resolved”

    Merged to #269 branch. Another future enhancement idea is making public tagging possible via UI changes necessary.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket