-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new FeatureTeam model FIR-307 * set Admin register for FeatureTeam FIR-307 * remove qualifier code * Feature Team as mandatory pick at front end FIR-307 * add migrations to raid app FIR-307 --------- Co-authored-by: Roc Itxart <[email protected]>
- Loading branch information
1 parent
939bc9f
commit 4f358db
Showing
21 changed files
with
169 additions
and
520 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
30 changes: 30 additions & 0 deletions
30
src/firefighter/api/migrations/0003_alter_apitokenproxy_options.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,30 @@ | ||
# Generated by Django 4.2.11 on 2024-04-30 15:39 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("api", "0002_alter_apitokenproxy_options"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="apitokenproxy", | ||
options={ | ||
"default_permissions": [], | ||
"permissions": [ | ||
("can_edit_any", "Can reassign token to any user"), | ||
("can_add_any", "Can add token to any user"), | ||
("can_view_any", "Can view token of all users"), | ||
("can_delete_any", "Can delete token of any user"), | ||
("can_add_own", "Can add own tokens"), | ||
("can_view_own", "Can view own tokens"), | ||
("can_delete_own", "Can delete own tokens"), | ||
], | ||
"verbose_name": "API Token", | ||
"verbose_name_plural": "API Tokens", | ||
}, | ||
), | ||
] |
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
35 changes: 35 additions & 0 deletions
35
...efighter/incidents/migrations/0002_alter_severity_name_alter_user_password_featureteam.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,35 @@ | ||
# Generated by Django 4.2.11 on 2024-04-30 15:39 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("incidents", "0001_initial_oss"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="severity", | ||
name="name", | ||
field=models.CharField(max_length=128, unique=True), | ||
), | ||
migrations.AlterField( | ||
model_name="user", | ||
name="password", | ||
field=models.CharField(max_length=128, verbose_name="password"), | ||
), | ||
migrations.CreateModel( | ||
name="FeatureTeam", | ||
fields=[ | ||
("id", models.AutoField(primary_key=True, serialize=False)), | ||
("name", models.CharField(max_length=80)), | ||
("jira_project_key", models.CharField(max_length=10, unique=True)), | ||
], | ||
options={ | ||
"unique_together": {("name", "jira_project_key")}, | ||
"verbose_name": "Feature Team", | ||
"verbose_name_plural": "Feature Teams", | ||
}, | ||
), | ||
] |
16 changes: 16 additions & 0 deletions
16
src/firefighter/incidents/migrations/0003_delete_featureteam.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,16 @@ | ||
# Generated by Django 4.2.11 on 2024-05-03 09:13 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("incidents", "0002_alter_severity_name_alter_user_password_featureteam"), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name="FeatureTeam", | ||
), | ||
] |
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
Oops, something went wrong.