-
Notifications
You must be signed in to change notification settings - Fork 12
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 #1105 from AI4Bharat/permissions
Permissions
- Loading branch information
Showing
6 changed files
with
409 additions
and
1 deletion.
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
24 changes: 24 additions & 0 deletions
24
backend/organizations/migrations/0009_permission_json_organizations.py
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,24 @@ | ||
# Generated by Django 3.2.14 on 2024-07-31 10:12 | ||
|
||
from django.db import migrations, models | ||
import organizations.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("organizations", "0008_auto_20220930_0451"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="organization", | ||
name="permission_json", | ||
field=models.JSONField( | ||
blank=True, | ||
default=organizations.models.default_permissions, | ||
help_text="Permissions for user role", | ||
null=True, | ||
verbose_name="permission json", | ||
), | ||
), | ||
] |
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
Oops, something went wrong.