You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no other issue that already describes my problem.
Describe the Bug
In order to create some validations and presets we need to compare the value for relational fields.
The builder only allows to select the sub-fields from the relation, but not the field itself.
Example below.
To Reproduce
Create two user-roles "role A" and "role B"
Open directus_user >> create option for role_A
Try to limit the user_creation to users with role_A or role_B
The permissions-builder will not let you select the "role" field, but role_id
If you select role_id field and enter the ID user of role_a won't be able to create any users (validation fails, needs to be type of object.
Instead we can add the validation manually to the role value and it work's as expected
Preflight Checklist
Describe the Bug
In order to create some validations and presets we need to compare the value for relational fields.
The builder only allows to select the sub-fields from the relation, but not the field itself.
Example below.
To Reproduce
directus_user
>>create
option for role_AInstead we can add the validation manually to the role value and it work's as expected
Errors Shown
No response
What version of Directus are you using?
9.6.0
What version of Node.js are you using?
16.14
What database are you using?
mySql 8
What browser are you using?
Chrome
What operating system are you using?
Mac
How are you deploying Directus?
locally
The text was updated successfully, but these errors were encountered: