boundary icon indicating copy to clipboard operation
boundary copied to clipboard

Permission list scoping not possible to specific projects in the Web UI

Open Theragus opened this issue 4 years ago • 3 comments

Describe the bug I have an org that has different projects. I want to scope the permissions so that specific users can only see specific projects. Right now with the current permission set, it's not possible to only show specific projects and deny showing other projects to a user. Removing the list permission from the scope will return a 403, despite the permissions for one project being set to allow.

To Reproduce Steps to reproduce the behaviour:

  1. Create a new org
  2. create multiple projects
  3. assign permission to only one specific project with any action (see screenshot)
  4. Open up the web console and check the project tab, it will return a 403 despite permissions assigned to the specific project. No Project is being returned

Expected behaviour Only show the project in the UI I have actually assigned permissions for

Bildschirmfoto 2021-10-20 um 16 36 44 .

Theragus avatar Oct 20 '21 14:10 Theragus

Hi there! Thanks for your interest in Boundary. It sounds like your goal is to allow users to list only specific projects within an org. You're halfway there! The existing grant you have allows the role to take any action on the one project. In order to list the project in the UI, the user must also have scope list permission on the org. Try adding this grant to your org role: type=scope;actions=list. Now the role should be able to list projects for which they have existing grants.

Let me know if that helps or if I've misunderstood the scenario. Thank you!

ghost avatar Oct 22 '21 15:10 ghost

Hi, @randallmorey. Thanks for the suggestion, i will try to test this in the next couple of days.

Theragus avatar Oct 30 '21 23:10 Theragus

Hello, checking to see if you are still encountering this issue. Ty for trying out Boundary!

gsusmi avatar Apr 25 '22 16:04 gsusmi

Closing due to inactivity.

malnick avatar Dec 19 '22 18:12 malnick