-
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2956 from kobotoolbox/2648-add-manage-project-per…
…mission Add new permission for managing sharing
- Loading branch information
Showing
31 changed files
with
923 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('kpi', '0026_disable_editors_can_change_permissions'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='asset', | ||
options={ | ||
'default_permissions': ('add', 'change', 'delete'), | ||
'ordering': ('-date_modified',), | ||
'permissions': ( | ||
('view_asset', 'Can view asset'), | ||
('manage_asset', 'Can manage all aspects of asset'), | ||
('add_submissions', 'Can submit data to asset'), | ||
('view_submissions', 'Can view submitted data for asset'), | ||
( | ||
'partial_submissions', | ||
'Can make partial actions on submitted data for asset for specific users', | ||
), | ||
( | ||
'change_submissions', | ||
'Can modify submitted data for asset', | ||
), | ||
( | ||
'delete_submissions', | ||
'Can delete submitted data for asset', | ||
), | ||
( | ||
'validate_submissions', | ||
'Can validate submitted data asset', | ||
), | ||
('from_kc_only', 'INTERNAL USE ONLY; DO NOT ASSIGN'), | ||
), | ||
}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='collection', | ||
options={ | ||
'default_permissions': ('add', 'change', 'delete'), | ||
'ordering': ('-date_modified',), | ||
'permissions': (('view_collection', 'Can view collection'),), | ||
}, | ||
), | ||
migrations.RemoveField( | ||
model_name='asset', | ||
name='editors_can_change_permissions', | ||
), | ||
migrations.RemoveField( | ||
model_name='collection', | ||
name='editors_can_change_permissions', | ||
), | ||
] |
Oops, something went wrong.