Bug #128

Permission denied when repository admin tries to add users

Added by George Notaras about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:03/24/2010
Priority:UrgentDue date:03/24/2010
Assignee:George Notaras% Done:

100%

Category:-Estimated time:4.00 hours
Target version:0.1.0

Description

Those users who have the vcsmanager.can_admin permission should also be able to select users.

This only happens if the 'user' field is added to the raw_id_fields in the Inline class in admin.py. This is because raw_id_fields require the user to have change permission on the model.

An alternative is making those fields autocomplete or just

History

#1 Updated by George Notaras about 3 years ago

  • Assignee set to George Notaras

#2 Updated by George Notaras about 3 years ago

  • Estimated time changed from 2.00 to 4.00

#3 Updated by George Notaras about 3 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

No longer puts the user field in the raw_id_fields list.

raw_id_fields = ('user',)

Also available in: Atom PDF