1
Cannot use Access Control name in Flow Permissions; must use UUID
Source: directus/directus#24939 · opened by @jonathan-chin
Describe the Improvement
I'm creating a bunch of flows and want to use some tight security practices. I have some Read Data flows that need only need to fetch information. I can set the Permissions to one of:
• From Trigger
• Public Role
• Full Access
• Other
None of the 3 predefined options really fit what I want. Instead, I've created a new Access Control level that only has read permissions on some collections. I've named it Internal Read Only. However, when trying to use that name in the Other option of Permissions, I get the following error:
code: 22P02
routine: string_to_uuid
When I replace the string inside Other with the UUID of this Role (eg: fd364db4-bcc2-48f9-b0fe-f1b1213d7495), it works. It would be a huge quality of life improvement if I can type in the Role's name; it would be even better if custom Roles populated here too.
I'm creating a bunch of flows and want to use some tight security practices. I have some Read Data flows that need only need to fetch information. I can set the Permissions to one of:
• From Trigger
• Public Role
• Full Access
• Other
None of the 3 predefined options really fit what I want. Instead, I've created a new Access Control level that only has read permissions on some collections. I've named it Internal Read Only. However, when trying to use that name in the Other option of Permissions, I get the following error:
code: 22P02
routine: string_to_uuid
When I replace the string inside Other with the UUID of this Role (eg: fd364db4-bcc2-48f9-b0fe-f1b1213d7495), it works. It would be a huge quality of life improvement if I can type in the Role's name; it would be even better if custom Roles populated here too.
No pledges yet. Be the first to back this.
Comments
Similar requests
Add Simple Link to Triggered/Triggering Flow
2 votes · 0 comments
Snapshot, diff, and apply for roles and permissions
19 votes · 0 comments
Code-first configuration of schema, roles and permissions
274 votes · 0 comments
Import and export option for flows
82 votes · 0 comments
Re-Run flow execution
7 votes · 0 comments
No comments yet.