#25 ✓resolved
davesag (at gmail)

Someone can be made an admin then can't be edited again

Reported by davesag (at gmail) | October 2nd, 2010 @ 03:59 PM | in v1.0

The site logic is broken in that as an admin user I can edit someone else (not an admin) and make them an admin. But then they can't be edited again.

Fix this such that a superuser is allowed to edit any admin, an admin can edit anyone not admin or super.

this means a change to the following handlers
get /user/:id
post /user/:id

and a change to /in/list_users.haml

Comments and changes to this ticket

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 ยป

Frank is intended to be a very simple but feature complete web-app built on top of Sinatra that provides simple user login, password reminder, and user email verification with support for simple roles. It is intended to be used by other developers as both a well documented example of Sinatra in use, and a starting point for others wishing to implement simple web apps very quickly.

Shared Ticket Bins

People watching this ticket