Bug #8439
closed
As a developer, I want to write code that views Katello objects as a different user than the current one
Added by Stephen Benjamin almost 10 years ago.
Updated about 4 years ago.
Category:
Roles and Permissions
|
Description
For things like rendering mail templates, I want to make use of the new foreman authorized_as scope.
- Status changed from New to Ready For Testing
- Target version set to 61
- Pull request https://github.com/Katello/katello/pull/4824 added
- Pull request deleted (
)
- Status changed from Ready For Testing to New
I started to try to do this, but it's quite a jungle in the Authorization concerns, it would need to be made DRY to really do this effectively.
For now, you can call `authorized_as` or `user.can?` methods from Foreman
- Target version changed from 61 to 62
- Triaged changed from No to Yes
- Target version changed from 62 to 63
- Target version changed from 63 to 66
- Target version deleted (
66)
- Translation missing: en.field_release set to 114
- Tracker changed from Feature to Bug
- Assignee deleted (
Stephen Benjamin)
- Status changed from New to Closed
No longer needed, foreman provides User.as helpers
- Status changed from Closed to Rejected
- Target version changed from Katello Backlog to Katello Recycle Bin
Also available in: Atom
PDF