Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AlanCoding
Copy link
Member

SUMMARY

Fixes API bugs when permissions are assigned through the DAB RBAC API

AAP-25493

AAP-25506

Ping @PabloHiro

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
ADDITIONAL INFORMATION

I'm separating these from other fixes, as this is a really specific category of bug, and the easiest to fix, by far. This is just simple logic that needed to be updated in the "access" python logic to work with either system. No migration or data integrity issues are involved, evaluations were just giving the wrong answer in cases.

These wrong answers were almost exclusively due to "new" role content, where the NotificationTemplate object-level role assignments were not possible before, as an example. So it's not surprising that the old logic isn't compatible and I just never looked at it.

@AlanCoding AlanCoding merged commit 4738c83 into ansible:devel Jun 20, 2024
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
* Fix object-level permission bugs with DAB RBAC system

* Fix NT organization change regression

* Mark tests to AAP number
djyasin pushed a commit to djyasin/awx that referenced this pull request Nov 11, 2024
* Fix object-level permission bugs with DAB RBAC system

* Fix NT organization change regression

* Mark tests to AAP number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants