manageiq icon indicating copy to clipboard operation
manageiq copied to clipboard

The user is not authorized for this task or item. [catalog/x_show]

Open sswynghedauwe opened this issue 1 year ago • 10 comments

Hello every one,

I have deployed a manageiq environment consisting of 3 Worker (vSphere Oparin-1.1 appliances) with a PostgreSQL database on Debian 11. Everything is functioning correctly after some bug fixes (thanks to the community). However, there is still a persistent issue. When a user selects services and all the services appear, if they click directly on the name of the catalog item (1), the error "The user is not authorized for this task or item. [catalog/x_show]" appears. image If the user selects the operating system from the Service Catalog menu, the description of the selected OS appears as it should. Here are the Python logs logs_python.txt Here are the permissions of the role used: image image image

I checked the user permissions, and when admin rights are given, there is no error message. If you have any ideas, I'm open to suggestions. Thank you for everything you do

ps: tell me if you need more informations.

sswynghedauwe avatar May 31 '23 15:05 sswynghedauwe

Ran into this issue recently in one of our ManageIQ deployments. Our fix was adding the Service > Catalogs Explorer > Catalogs > View permission for the user role experiencing the issue, which resolved the error.

jbarson47 avatar Jun 01 '23 15:06 jbarson47

Hello, yes with adding the Service > Catalogs Explorer > Catalogs > View permission that work but, the catalog appear and we have the same issue when we clik on catalog items : image

sswynghedauwe avatar Jun 01 '23 15:06 sswynghedauwe

That would need the same view permission, just for the different object. Since that's a catalog item rather than a catalog, the separate Service > Catalogs Explorer > Catalog Items > View Catalog Items permission would need to be enabled.

jbarson47 avatar Jun 01 '23 15:06 jbarson47

@jeffibm Can you take a look at this one? Sounds like an RBAC issue, possibly with the API?

Fryguy avatar Jun 07 '23 17:06 Fryguy

Need help in debugging this -

Steps I went through -

  • I created a permission set mentioned in the above screenshot,
  • assigned to a user,
  • and logged in as a user.
  • My Services pages are blank image

After giving permission to catalogs explorer, am seeing this. My services page are still blank. image

image

jeffibm avatar Jul 03 '23 06:07 jeffibm

hi,

I use Tags set on groups : image

and this tags was set on the catalogue item : image

sswynghedauwe avatar Jul 13 '23 14:07 sswynghedauwe

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

miq-bot avatar Oct 16 '23 00:10 miq-bot

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

miq-bot avatar Jan 22 '24 00:01 miq-bot

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

miq-bot avatar Apr 29 '24 00:04 miq-bot

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

miq-bot avatar Aug 05 '24 00:08 miq-bot