summaryrefslogtreecommitdiffstats
path: root/docs/overview.md (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-07-09Callback for role assignment (#15339)Seth Foster1-7/+8
Validate role assignment if org defined Check that organization is defined on credential before running queries. Fixes a "None type does not have attribute id" error. Signed-off-by: Seth Foster <fosterbseth@gmail.com>
2024-07-03Do not reference self.messages when it does not exist (#15331)Alan Rominger1-3/+6
2024-07-03Add complete test that we have analogs to old versions of roles, fix some ↵Alan Rominger2-14/+77
mismatches (#15321) * Add test that we got all permissions right for every role * Fix missing Org execute role and missing adhoc role permission * Add in missing Organization Approval Role as well * Remove Role from role names
2024-07-03Suppress docker pull output in checks (#15323)Alan Rominger3-5/+5
Supress docker pull output in checks
2024-07-03Fix server error assigning teams EE object roles (#15320)Alan Rominger2-2/+22
2024-07-02Prevent assigning credential to user of other org (#15296)24.6.1Seth Foster2-0/+36
Utilizes the `validate_role_assignment` callback from dab (see dab PR #490) to prevent granting credential access to a user of another organization. This logic will work for role_user_assignments and role_team_assignments endpoints. Signed-off-by: Seth Foster <fosterbseth@gmail.com>
2024-07-02Add in missing read permissions for organization audit role (#15318)Alan Rominger4-3/+36
* Add in missing read permissions for organization audit role * Add missing audit permission, special case name handling
2024-07-01Added new OpenShift Virtualization inventory source to docs. (#15299)TVo2-3/+41
* Added new OpenShift Virtualization inventory source to docs. * Incorporated review feedback from @fosterseth and @TheRealHaoLiu. * Fixed link to correct kubevirt.core.kubevirt documentation.
2024-07-01Add better 403 error message for Job template create (#15307)Hao Liu3-6/+28
* Add better 403 error message for Job template create To create Job template u need access to projects and inventory --------- Co-authored-by: Chris Meyers <chris.meyers.fsu@gmail.com>
2024-07-01Add better error message for wfjt create 403 (#15309)Hao Liu3-5/+29
2024-07-01Fix server error from DAB ValidationError with strings (#15312)Alan Rominger2-1/+14
2024-06-28Update ExecutionEnvironment model so object-level roles work with DAB RBAC ↵Alan Rominger6-8/+163
system (#15289) * Add initial test for deletion of stale permission * Delete existing EE view permission * Hypothetically complete update of EE model permissions setup * Tests passing locally * Issue with user_capabilities was a test bug, fixed
2024-06-28Do not use cache in github image build action (#15308)Alan Rominger2-10/+26
* Do not use cache in actual image build action * Add cache args to kube prod builds
2024-06-27Fix permissions that come from an external auditor role (#15291)Alan Rominger4-16/+142
* Add tests for external auditor * Add assertion for unified JTs which fails * Fix UJT listing bug * Add test for ad hoc commands just to be sure
2024-06-27LISTENER_DATABASES clobbers DATABASES OPTIONS (#15306)jamesmarshall242-2/+4
Do not overwrite DATABASES OPTIONS with LISTENER_DATABASES
2024-06-27Add TASK_MANAGER_LOCK_TIMEOUT (#15300)Hao Liu4-3/+19
* Add TASK_MANAGER_LOCK_TIMEOUT `TASK_MANAGER_LOCK_TIMEOUT` controls the `idle_in_transaction_session_timeout` and `idle_session_timeout` configuration for task manager connections and lock in database hope to prevent the situation that the task instance that holds the lock becomes unresponsive and preventing other instance to be able to run task manager * Add session timeout to periodic scheduler and all sub task manager locks
2024-06-27Make attached user models adhere to new API assignments (#15298)Alan Rominger2-3/+11
2024-06-26Temporary workaround for CI failure (#15305)Hao Liu1-2/+1
Workaround ``` ERROR awx/main/tests/functional/test_licenses.py - pip._vendor.distlib.DistlibException: Unable to locate finder for 'pip._vendor.distlib' ```
2024-06-24Added troubleshooting and tips tricks content (#15212)TVo4-10/+38
* Added troubleshooting and tips tricks content * Added troubleshooting and tips tricks content * Moved DNS host entry override info to customize pod spec section of CG chapter. * Added troubleshooting and tips tricks content * Moved DNS host entry override info to customize pod spec section of CG chapter. * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Seth Foster <fosterseth@users.noreply.github.com> * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Seth Foster <fosterseth@users.noreply.github.com> * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Sandra McCann <samccann@redhat.com> * Incorp'd review feedback from @fosterseth and @samccann * Update docs/docsite/rst/administration/containers_instance_groups.rst Co-authored-by: Sandra McCann <samccann@redhat.com> * Final revisions based on @fosterseth's inputs. --------- Co-authored-by: Seth Foster <fosterseth@users.noreply.github.com> Co-authored-by: Sandra McCann <samccann@redhat.com>
2024-06-21Various RBAC fixes related to managed RoleDefinitions (#15287)Alan Rominger7-6/+103
* Add migration testing for certain managed roles * Fix managed role bugs * Add more tests * Fix another bug with org workflow admin role reference * Add test because another issue is fixed * Mark reason for test * Remove internal markers * Reword failure message Co-authored-by: Seth Foster <fosterseth@users.noreply.github.com> --------- Co-authored-by: Seth Foster <fosterseth@users.noreply.github.com>
2024-06-20Fix object-level permission bugs with DAB RBAC system (#15284)24.6.0Alan Rominger5-18/+36
* Fix object-level permission bugs with DAB RBAC system * Fix NT organization change regression * Mark tests to AAP number
2024-06-20Check for admin_role in role_check.py (#15283)Seth Foster2-10/+29
Script was falsely identifying cross-linked parents. It needs to check if parent roles if content type is Team and role_field is member_role OR admin_role. Signed-off-by: Seth Foster <fosterbseth@gmail.com>
2024-06-18Clarify the search for a proxyChris Meyers1-0/+18
2024-06-18Rename deleteChris Meyers2-3/+3
* Include a bit of context into the name of the delete function. The HTTP_ added prepended string may be unexpected if Django's header transformation isn't top of mind.
2024-06-18Add support for x-trusted-proxyChris Meyers5-38/+171
* Increase the surface area of the set of headers that the proxy list feature looks at for the remote proxy IF x-trusted-proxy is valid.
2024-06-18Revert "Trust proxy headers for host provision callback"Chris Meyers2-13/+7
This reverts commit 49e3971cd577127705fc0fd1d3b4ab7e3a3c3c2b.
2024-06-18Tests for trust proxy and existing explicit proxyChris Meyers1-9/+74
* Integration tests to ensure the integration of the two features.
2024-06-18Trust proxy headers for host provision callbackChris Meyers2-7/+13
* Do not remove special header list if request is from a trusted proxy. * Continue to remove headers if request if from a non-trusted proxy.
2024-06-18Pass the Makefile python exe to ansible-playbook (#15282)Alan Rominger1-7/+10
2024-06-17Use public methods to reference registered models (#15277)Alan Rominger1-1/+1
2024-06-14Add OpenShift Virtualization Inventory source option (#15047)Chad Ferman13-7/+255
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
2024-06-13Fix notification name search (#15231)a_nackov1-1/+1
Signed-off-by: Adrian Nackov <adrian.nackov@mail.schwarz>
2024-06-12Add 'Terraform State' inventory source support for collection (#15258)Viktor Varga1-2/+2
2024-06-12Upgrade aiohttp for cve 2024-23829 (#15257)Jake Jackson2-2/+2
2024-06-12Change all uses of ImplicitRoleField to do on_delete=SET_NULLJeff Bradberry8-30/+30
This will mitigate the problem where if any Role gets deleted for some weird reason it could previously cascade delete important objects.
2024-06-11Rename setting to allow local resource management (#15269)Seth Foster4-10/+10
rename AWX_DIRECT_SHARED_RESOURCE_MANAGEMENT_ENABLED to ALLOW_LOCAL_RESOURCE_MANAGEMENT - clearer meaning - drop prefix so the same setting is used across the platform Signed-off-by: Seth Foster <fosterbseth@gmail.com>
2024-06-10This should deal correctly with the ancestor list mismatchesJeff Bradberry1-3/+4
2024-06-10Guard against the role field not being populatedJeff Bradberry1-2/+3
when doing the final reset of Role.implicit_parents.