patch for ticket 1012 - normal users can't edit their own profile

1 view
Skip to first unread message

heptat

unread,
Aug 14, 2009, 2:37:50 AM8/14/09
to habari-dev
I've uploaded a patch for <a href="http://svn.habariproject.org/habari/
trunk/htdocs">patch 1012</a>. Normal users (those who are in the
authenticated group by default) can't edit their own profile.

The patch creates a token 'manage_self' in the installhandler for
upgrades and in acl, which is checked in adminhandler when a 'user'
accesses their profile page.

The only problem is there is no menu item for a user to navigate to
their profile. Using the existing 'Users' menu item is no good as it
points to 'admin/users' so will get a 'forbidden' if a normal user
selects it. Is there any way to sensibly change the menu in core?

Arthus Erea

unread,
Aug 14, 2009, 2:44:40 AM8/14/09
to habar...@googlegroups.com
I'd support the addition of a "Profile" menu option for *all* users
(including administrators).

heptat

unread,
Aug 14, 2009, 7:56:24 PM8/14/09
to habari-dev

Sorry, my link to the issue didn't work very well - not like creating
a link on habari ;)

https://trac.habariproject.org/habari/ticket/1012
Reply all
Reply to author
Forward
0 new messages