Skip to content

Commit 7766d3b

Browse files
committed
Update permissions
1 parent 92193b3 commit 7766d3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/spicedb/schema/schema.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ schema: |-
9292
permission read_billing = member + owner + installation->admin
9393
permission write_billing = owner + installation->admin
9494
95-
permission read_prebuild = collaborator + member + owner + installation->admin
95+
// Note that there are two different read_prebuild permissions: this one, guarding primarily the listPrebuilds method in the API and then the other under projects, which is the actual permission used for checking if a user can use a prebuild for a repository.
96+
// Today, the difference is that collaborators can't read prebuilds on an org but can on a repository (project).
97+
permission read_prebuild = member + owner + installation->admin
9698
9799
permission create_workspace = member + collaborator
98100

0 commit comments

Comments
 (0)