cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

mrksph
Node Clone

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

Comments
mrksph
Node Clone

Hi,

The solution was to grant 2 privileges.

One privilege for Index and one for Constraint.

Version history
Last update:
‎06-21-2021 01:32 AM
Updated by:
Contributors