makeplane / plane

🔥 🔥 🔥 Open Source JIRA, Linear, Monday, and Asana Alternative. Plane helps you track your issues, epics, and product roadmaps in the simplest way possible.
http://plane.so
GNU Affero General Public License v3.0
28.96k stars 1.59k forks source link

[bug]: Project member can't add view to favorites #5351

Open moigagoo opened 1 month ago

moigagoo commented 1 month ago

Is there an existing issue for this?

Current behavior

The star icon promptly changes to yellow but then becomes white again.

Happens with the views Alice created herself and public views alike.

Steps to reproduce

  1. Alice is a Viewer in a workspace and a Member in a project.
  2. Alice created a view for herself in the project.
  3. Alice wants to favorite the view and clicks on the start icon next to it.

Environment

Production

Browser

None

Variant

Cloud

Version

Latest

pushya22 commented 1 month ago

Hi @moigagoo This issue is occurring because the user has a viewer role at the workspace level which supersedes the project level permissions , which is currently the intended behaviour of the platform. We are in the process of streamlining all roles across the entire application, which should handle these kind of scenarios.