opened
imtayadeway
username_0
Currently we check to see if the user is the "admin" user - we need to
check to see if the user has administrator priveleges regardless of
who they are.

Incidentally removes a couple of uses of `any_instance_of` :tada:

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1421878

Side note: I'm not sure why they other request types do not allow admin access to all requests, it seems that we should fix that as a follow up to this once merged.

@miq-bot add-label api, bug
@miq-bot assign @username_1 

Thanks @jvlcek for your help debugging this!
Requests should allow access to users with admin role
issue
created
abellotti
username_1
👍 Thanks @username_0 for fixing this. 🎵
comment