mirror of
https://github.com/ansible/awx.git
synced 2026-06-23 15:47:49 -02:30
Serializer RBAC and structure review changes (#17)
* Bulk launch serializer RBAC and code structure review Use WJ node as base in bulk job launch child remove fields we get for free this way Minor translation marking Consolidate bulk API permission methods split out permission check for each UJT type Code consolidation for org check method add a save before starting the workflow job
This commit is contained in:
committed by
Elijah DeLee
parent
47b7bbeda7
commit
ac99708952
@@ -14,7 +14,7 @@ from awx.main.constants import JOB_VARIABLE_PREFIXES
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_subclass_types(rando):
|
||||
def test_subclass_types():
|
||||
assert set(UnifiedJobTemplate._submodels_with_roles()) == set(
|
||||
[
|
||||
ContentType.objects.get_for_model(JobTemplate).id,
|
||||
|
||||
Reference in New Issue
Block a user