Re: [Django] #9057: allow override of contrib.auth auto creation of permissions and superuser

2011-12-17 Thread Django
#9057: allow override of contrib.auth auto creation of permissions and superuser
--+
 Reporter:  hvendelbo |Owner:  nobody
 Type:  New feature   |   Status:  new
Component:  contrib.auth  |  Version:  1.0
 Severity:  Normal|   Resolution:
 Keywords:  auth  | Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  1
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by aaugustin):

 * stage:  Design decision needed => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #9057: allow override of contrib.auth auto creation of permissions and superuser

2011-09-29 Thread Django
#9057: allow override of contrib.auth auto creation of permissions and superuser
-+-
 Reporter:  hvendelbo|Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  contrib.auth |  Version:  1.0
 Severity:  Normal   |   Resolution:
 Keywords:  auth | Triage Stage:  Design
Has patch:  1|  decision needed
  Needs tests:  0|  Needs documentation:  1
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by koenb):

 * needs_docs:  0 => 1
 * ui_ux:   => 0
 * easy:   => 0


Comment:

 This patch has a different take: make it a meta option per model (called
 "no_default_permissions") to prevent creating the three default
 permissions for that model.

 Added a test in a new folder regressiontests/auth_permissions since I did
 not know where to put them otherwise.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #9057: allow override of contrib.auth auto creation of permissions and superuser

2009-08-28 Thread Django
#9057: allow override of contrib.auth auto creation of permissions and superuser
-+--
  Reporter:  hvendelbo   | Owner:  nobody
Status:  new | Milestone:
 Component:  Contrib apps|   Version:  1.0   
Resolution:  |  Keywords:  auth  
 Stage:  Design decision needed  | Has_patch:  1 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Comment (by DarwinSurvivor):

 While I'm not sure about the superuser part, I would find the ability to
 dissable auto-created permissions VERY usefull in the site I am currently
 designing.

 Not only are there 3 permissions created per model, but the admin page
 does not even separate the auto-created ones from the purposely-created
 ones. My site has over 30 models (very complex research site) and having
 to go in and delete all the auto-created permissions every time I add a
 model is VERY annoying.

 This seems like a simple fix and other than the missing tests/docs (which
 look like they would take all of 5 minutes to write), I am all for this.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #9057: allow override of contrib.auth auto creation of permissions and superuser

2008-09-16 Thread Django
#9057: allow override of contrib.auth auto creation of permissions and superuser
-+--
  Reporter:  hvendelbo   | Owner:  nobody
Status:  new | Milestone:
 Component:  Contrib apps|   Version:  1.0   
Resolution:  |  Keywords:  auth  
 Stage:  Design decision needed  | Has_patch:  1 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by mtredinnick):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Design decision needed
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 A few issue here:
  1. This patch seems to be trying to slip in a configurable user-model. I
 can't see how that's related to the problem at hand.
  2. One patch, please, not two. I looked at the last patch, thinking it
 was the most up-to-date version and it looked incomplete. Then I realised
 that I had to read both at once.
  3. I'm -1 on including this at the moment. It's two extra settings, plus
 documentation (which isn't included here) to support something that
 happens once at syncdb time. If you don't want those permissions you can
 go in and delete them or write a script to do so. I'm relatively
 unconvinced that there's a really large use-case that is being overlooked
 by this not being present.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #9057: allow override of contrib.auth auto creation of permissions and superuser

2008-09-12 Thread Django
#9057: allow override of contrib.auth auto creation of permissions and superuser
--+-
 Reporter:  hvendelbo |   Owner:  nobody
   Status:  new   |   Milestone:
Component:  Contrib apps  | Version:  1.0   
 Keywords:  auth  |   Stage:  Unreviewed
Has_patch:  1 |  
--+-
 If you wan't to create permissions and a superuser automatically in your
 own it's easy. Just follow the pattern used in contrib.auth

 Then all you need to do is make contrib.auth stop creating permissions and
 superuser as well

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---