#7372 Allow users to disable their own accounts

v1.2.0
closed
nobody
42cc (432)
General
2015-08-20
2014-05-07
No

Add a new /auth/ page to remove your own account. It should list all the projects that the person is an admin of (if any), and tell them that those projects will be orphaned unless they have another admin. Then ask if they're really sure, and require the user to enter their password to confirm.

Upon submitting that form, call a new disable_user method on the AuthenticationProvider. Implement that method in the LocalAuthenticationProvider, by setting the disabled flag for the User record. (That flag is already in use, just now way to set it yet)

Link to the form from the bottom of the main account page. It won't have to be accessed much.

Discussion

  • Igor Bondarenko - 2014-05-15

    Closed #583. je/42cc_7372

     
  • Igor Bondarenko - 2014-05-15
    • status: open --> code-review
     
  • Igor Bondarenko - 2014-05-19

    Updated je/42cc_7372 with .ini option, as discussed in [#7373]

    8766cd2..c53c02c t583_allow_user_to_disable_account -> je/42cc_7372

     
  • Dave Brondsema

    Dave Brondsema - 2014-05-27
    • status: code-review --> closed
    • QA: Dave Brondsema
    • Milestone: forge-backlog --> forge-may-30
     
  • Dave Brondsema

    Dave Brondsema - 2015-01-05
    • Milestone: unreleased --> asf_release_1.2.0
     

Log in to post a comment.