velaux icon indicating copy to clipboard operation
velaux copied to clipboard

[Bug] Project View role should be able to see compare diff page

Open previousdeveloper opened this issue 2 years ago • 3 comments

Describe the bug Project Viewer role permission should be able to see compare page. In the 1.7.0 project viewer, the user gets the 403 Forbidden error. v1/applications/{appname}/compare

To Reproduce Steps to reproduce the behavior:

  1. Assign project view roles to user and log in
  2. Go to resource graph
  3. See error

Expected behavior

Screenshots image

KubeVela Version

1.7.0

Additional context

previousdeveloper avatar Jan 13 '23 15:01 previousdeveloper

@barnettZQG wdyt?

previousdeveloper avatar Jan 16 '23 13:01 previousdeveloper

@previousdeveloper I think so.

This need to change the default permission definition. BTW, we plan to support user change or customize the permission with any rules via the config file.

barnettZQG avatar Jan 18 '23 02:01 barnettZQG

Do you consider changing default permission until you customize the permission rules WDYT?

previousdeveloper avatar Feb 01 '23 03:02 previousdeveloper