console icon indicating copy to clipboard operation
console copied to clipboard

OCPBUGS-30889: No access to list pipelines.tekton.dev prevents from using Delete application form

Open lokanandaprabhu opened this issue 8 months ago • 7 comments

Fixes: https://issues.redhat.com/browse/OCPBUGS-30889

Analysis / Root cause: If Pipeline Operator was not installed, listing of resource is giving the error

Solution Description: For Pipeline resources, access check is added whether user can list the resource for that namespace or not.

Screen shots / Gifs for design review:

--- Before---

https://github.com/openshift/console/assets/102503482/4a3a1ee8-fb5e-494d-870a-7ecf5317d5e4

---After---

-- Without installing Pipeline operator --

https://github.com/openshift/console/assets/102503482/a929b739-1349-4562-9d33-b6cee383e264

-- With installing pipeline operator --

https://github.com/openshift/console/assets/102503482/dadf0f82-9de4-4a95-a2e4-be154f404724

-- with installing serverless operator --

https://github.com/openshift/console/assets/102503482/61c7e6c0-dad0-4808-815b-565b5ae784e9

Unit test coverage report: NA

Test setup:

1. Don't install Pipelines and serverless operator, create some application and delete
2. Install pipelines operator, create some application and delete
3. Install serverless operator, create some application and delete
4. Do the steps for both admin and non-admin user

 

Browser conformance:

  • [x] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge

lokanandaprabhu avatar Jun 07 '24 10:06 lokanandaprabhu