PPL

Admins should be able to create owners from their settings page

Bug #702231 reported by Christopher Adams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PPL
Fix Released
Critical
Brad Phillips

Bug Description

The way to boot-strap the site is this: after aiki is installed with the PPL code, anyone with admin privileges can visit the Settings page and add an Owner.

This requires setting a username, email and password.

Changed in ppl:
importance: Undecided → Critical
milestone: none → 0.2
status: New → Confirmed
Bassel Safadi (bassel)
Changed in ppl:
assignee: nobody → Bassel Safadi (bassel)
Revision history for this message
rejon (rejon) wrote :

What does this look like exactly? Is there more needed to describe this? I think so if we want something specific.

Revision history for this message
rejon (rejon) wrote :

how can this be triaged? need to isolate so only implementation is what's left.

Changed in ppl:
milestone: 0.2 → 0.3
assignee: Bassel Safadi (bassel) → Brad Phillips (brad-bradphillips)
status: Confirmed → Incomplete
Revision history for this message
Christopher Adams (christopheradams) wrote :

To fix this:

Copy the content of the users/sign_up widget into a new widget create_user

Make this widget available from the URL users/create

Set the header to: <h2 class="strong">Sign up.</h2>

Remove the "Sign in" and "Forgot your password?" links

Create a new form that follows the Sign up form (form 17).

Add one new field: Usergroup. Make this a drop-down menu with two choices: Owner, Admin (Owner is the default)

When this is done, then we can discuss where to place a "Create a User" link for Admins.

Changed in ppl:
milestone: 0.3 → 0.2
status: Incomplete → Confirmed
Revision history for this message
Brad Phillips (brad-bradphillips) wrote :

Ok, I've followed the steps & a new form is up on the page [root]/users/create. Only SystemGODs can see it, else, redirected back to home page.

Next up is to add the ability for an Admin to get to that page via the dashboard?

Changed in ppl:
status: Confirmed → In Progress
Revision history for this message
Christopher Adams (christopheradams) wrote : Re: [Bug 702231] Re: Admins should be able to create owners from their settings page

What about a link on the bottom of the settings page that only admins can
see? It only needs to be a link to users/create

On Feb 11, 2011 7:01 PM, "Brad Phillips" <email address hidden> wrote:

Ok, I've followed the steps & a new form is up on the page
[root]/users/create. Only SystemGODs can see it, else, redirected back
to home page.

Next up is to add the ability for an Admin to get to that page via the
dashboard?

** Changed in: ppl
      Status: Confirmed => In Progress

--
You received this bug notification because you are a member of PPL
Developers, which is subscri...
 In Progress

Bug description:
The way to boot-strap the site is this: after aiki is installed with
the PPL c...

Revision history for this message
Brad Phillips (brad-bradphillips) wrote :

Cool, I added some php in the footer-weak widget (that displays on all the [root]/user links) that checks to see if the 2nd sub-directory is "settings" or "create" & displays an appropriate link either to the 'create new owner' page or back to the 'settings' page.

Changed in ppl:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.