Actions
Bug #30880
closedAdd permission support to validate 404 on denial and multi permissions
Description
The current testing framework does not handle 404s on denial. This behaviour is consistent with foreman, 404 instead of 403 if object not authorized. 403 is only when route is not authorized.
We need to add support to this.
The current authorization does not handle multi permissions also. For example destroy_content_views and promote_or_remove_content_views either support 'removing' a content view. However the controller authorizer does not handle this correctly.
Updated by Partha Aji over 4 years ago
- Blocks Tracker #30872: Use proper authorization in controllers added
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8956 added
Updated by The Foreman Bot over 4 years ago
- Fixed in Releases Katello 4.0.0 added
Updated by Partha Aji over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|e2026d90e80ab73dd720d10d9e48839c22a95b1e.
Actions