FeatureFuel
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.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests