add manage_issue permission to open/close issue
This commit is contained in:
parent
95893c04d9
commit
28a4915909
3 changed files with 22 additions and 1 deletions
File diff suppressed because one or more lines are too long
20
issue/migrations/0013_projectpermission_manage_issue.py
Normal file
20
issue/migrations/0013_projectpermission_manage_issue.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('issue', '0012_auto_20140812_0508'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='projectpermission',
|
||||
name='manage_issue',
|
||||
field=models.BooleanField(default=False),
|
||||
preserve_default=True,
|
||||
),
|
||||
]
|
|
@ -439,6 +439,7 @@ class ProjectPermission(PermissionModel):
|
|||
|
||||
create_issue = models.BooleanField(default=True)
|
||||
modify_issue = models.BooleanField(default=False)
|
||||
manage_issue = models.BooleanField(default=False)
|
||||
delete_issue = models.BooleanField(default=False)
|
||||
|
||||
create_comment = models.BooleanField(default=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue