Project

General

Profile

Actions

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 over 9 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Roles and Permissions
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

For things like rendering mail templates, I want to make use of the new foreman authorized_as scope.

Actions #1

Updated by The Foreman Bot over 9 years ago

  • 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 ()
Actions #2

Updated by Stephen Benjamin over 9 years ago

  • 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

Actions #3

Updated by Stephen Benjamin over 9 years ago

Actions #4

Updated by Eric Helms over 9 years ago

  • Target version changed from 61 to 62
Actions #5

Updated by Eric Helms over 9 years ago

  • Triaged changed from No to Yes
Actions #6

Updated by Eric Helms over 9 years ago

  • Target version changed from 62 to 63
Actions #7

Updated by Eric Helms about 9 years ago

  • Target version changed from 63 to 66
Actions #8

Updated by Eric Helms about 9 years ago

  • Target version deleted (66)
Actions #9

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release set to 114
Actions #10

Updated by Stephen Benjamin over 7 years ago

  • Tracker changed from Feature to Bug
Actions #11

Updated by Stephen Benjamin over 7 years ago

  • Assignee deleted (Stephen Benjamin)
Actions #12

Updated by Stephen Benjamin over 7 years ago

  • Blocked by deleted (Refactor #8449: Make authorization concerns DRY)
Actions #13

Updated by Stephen Benjamin over 7 years ago

  • Status changed from New to Closed

No longer needed, foreman provides User.as helpers

Actions #14

Updated by Jonathon Turel almost 4 years ago

  • Status changed from Closed to Rejected
  • Target version changed from Katello Backlog to Katello Recycle Bin
Actions

Also available in: Atom PDF