https://prefect.io logo
Title
r

Roger Webb

09/08/2022, 5:19 PM
With Prefect 1.0, if I have multiple projects in my Prefect system... and I want to create a role that ... for instance, can only run flows based in Project A .. but not project B (Or even SEE Project B) where is that in the Customer Role section?
1
j

James Sopkin

09/09/2022, 3:09 PM
Hi @Roger Webb it is possible to create custom roles to delegate permissions for specific flows based on flow ids, but that would be an enterprise feature. For example- see here
mutation {
  create_custom_role(input: { name : "my new role", permissions: ["read:flow"] }) {
    id
  }
}
Otherwise, if you do consider switching to 2.0, you could seperate certain flows into different workspaces and grant access to a specific workspace to whoever needs it