Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
on 06-21-2021 01:32 AM
I'm experimenting with user privileges and can't find what PRIVILEGE is needed to grant to be able to execute apoc.schema.assert() procedure.
With a newly created user I tried executing the following:
CALL apoc.schema.assert({},{},true) YIELD label, key
RETURN *
But got an error:
Schema operations are not allowed for user 'test1' with roles [PUBLIC, testr] restricted to SCHEMA.
Any help?
Thanks
Hi,
The solution was to grant 2 privileges.
One privilege for Index and one for Constraint.