rancher: [BUG] Project role with Patch verb doesn't grant user Patch access rights
This is related to https://github.com/rancher/dashboard/issues/7897
There may be some UI work to done after this.
User Information
- Standard User with Deployment resource -
GET,LISTandPATCHpermissions - NB: UPDATE is not granted
Describe the bug
API doesn’t have a link / declare permissions for PATCH
PATCH verb seemed to be based on UPDATE
To Reproduce Follow the steps here to reproduce original bug https://github.com/rancher/dashboard/issues/7897
Afterwards:
- Go to
View APIand inspect the schema/response - User is missing the both
PATCHandPUTverbs/links - Modify the created project role to include the
UPDATEVerb - Schema shows that now user have both
PATCHandUPDATEverbs
Result
- User is not able to perform PATCH updates.
- API doesn’t show user have PATCH permissions
Expected Result
- User with PATCH access can perform PATCH on resource. Particularly deployments.
Screenshots




Additional context
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (20 by maintainers)
@richard-cox Sorry for the lack of clarity - I agree that the root cause is in Steve and that Steve should work as the UI is expecting. What I meant there was more that the users should still be able to perform the scale operation without the UI if need be.