Skip to content

ACL bug on Create New Record node #1

Description

@richardosborne14

Device information

Macbook Air M1 2020

Operating system

MacOS Ventura 13.6.4

OpenNoodl version

1.0.0

What should happen

Can set a user id as an access control rule when creating a new record by creating an access control rule with target 'User'

What happened instead

Create New Record node ignores the rule set to target 'User' (initially). If user selects 'User' from the dropdown list, then the rule works. But leaving rule to default 'User' target doesn't register the rule when creating the record.

How to reproduce this bug

  • Add a 'Create New Record' node and set a Class
  • Click + next to Access Control Rules
  • Leave the target 'User' as default, don't touch it
  • Connect up a user ID to the node input 'User Id' under the rule category
  • Trigger the node, it will say 'ACL is required'
  • Try adding a second rule, with Role as target, and specify an existing role name
  • Trigger the node, it will create a record
  • Check in the cloud service back end for the created record, the ACL field will only contain the role you specified, not the user rule

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions