#5271 Add disabled flag to Allura User model

asf_release_1.0.0
closed
Cory Johns
General
2015-02-24
2012-11-12
Cory Johns
No

Add a flag to disable user accounts in Allura, and make the ACL honor it.

Also add a script to update existing Allura records to disabled if their alexandria record is D or S. Keep the script in forge-classic, we may want to run it from time to time.

Discussion

  • Cory Johns
    Cory Johns
    2012-11-12

    • status: in-progress --> code-review
    • qa: Dave Brondsema
     
  • Cory Johns
    Cory Johns
    2012-11-12

    allura:cj/5271

     
  • Dave Brondsema
    Dave Brondsema
    2012-11-12

    I think the user should still be able to have anonymous-level access so that they can view pages. A disabled user currently can't even view a project. Another way to go about this would be to make a disabled user be logged out immediately.

     
  • Dave Brondsema
    Dave Brondsema
    2012-11-12

    • status: code-review --> in-progress
     
  • Dave Brondsema
    Dave Brondsema
    2012-11-12

    • labels: --> spam
     
  • Cory Johns
    Cory Johns
    2012-11-12

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,3 @@
     Add a flag to disable user accounts in Allura, and make the ACL honor it.
    +
    +Also add a script to update existing Allura records to disabled if their alexandria record is D or S. Keep the script in forge-classic, we may want to run it from time to time.
    
    • size: 1 --> 2
     
  • Cory Johns
    Cory Johns
    2012-11-12

    • status: in-progress --> code-review
     
  • Cory Johns
    Cory Johns
    2012-11-12

    allura:cj/5271
    forge-classic:cj/5271

     
  • Dave Brondsema
    Dave Brondsema
    2012-11-13

    • status: code-review --> closed