Bug #133
Rework the permission system
| Status: | Closed | Start date: | 03/25/2010 | |
|---|---|---|---|---|
| Priority: | High | Due date: | 03/25/2010 | |
| Assignee: | % Done: | 100% | ||
| Category: | - | Estimated time: | 5.00 hours | |
| Target version: | 0.1.0 |
Description
From the UserProfile docstring:
At this point it is necessary to define what a 'repository admin' is
in vcsmanager and what attributes it has:
1. A repository admin is a user who has the 'vcsmanager.can_admin'
object permission at least on one repository object.
2. Having the 'vcsmanager.can_admin' object permission on at least
one repository object automatically sets the user's is_staff
attribute to True, so that the user can login to the Django
admin interface and administer the repositories it owns.
3. Having the 'vcsmanager.can_admin' object permission on at least
one repository object automatically grants the user the
'vcsmanager.change_repository' on the Repository model (class).
But the repository objects the repository admin can actually change
depend on each repository's object permissions. Also, the repositories
the repository admin sees in the repository changelist in the admin
interface are only those it can administer.
History
#1
Updated by George Notaras about 3 years ago
- Subject changed from Repository creators should be given the can_admin repository permission automatically if they are not superusers to Repository creators should be given the can_admin repository permission automatically
#2
Updated by George Notaras about 3 years ago
- Status changed from New to Assigned
- Assignee set to George Notaras
- Target version set to 0.1.0
#3
Updated by George Notaras about 3 years ago
- % Done changed from 0 to 80
#4
Updated by George Notaras about 3 years ago
- Subject changed from Repository creators should be given the can_admin repository permission automatically to Rework the permission system
- Status changed from Assigned to Resolved
- % Done changed from 80 to 90
- Estimated time changed from 1.00 to 5.00
#5
Updated by George Notaras about 3 years ago
- Status changed from Resolved to Closed
- % Done changed from 90 to 100
