This has a side-effect of inability to see the privileges granted to the sequences by other users:
#!/usr/bin/env tarantool
box.cfg{}
box.schema.user.create('u')
box.schema.sequence.create('seq')
box.schema.user.grant('u', 'write', 'sequence', 'seq')
box.session.su('u', box.schema.user.info, 'u')
A successful exit expected, actual output:
2025-11-30 13:23:45.489 [19586] main schema.lua:3438 E> Read access to space '_sequence' is denied for user 'u' {"type":"AccessDeniedError","code":42,"object_type":"space","object_name":"_sequence","access_type":"Read","user":"u","trace":[{"file":"builtin/box/schema.lua","line":3438}]}
2025-11-30 13:23:45.489 [19586] main say.c:85 F> fatal error, exiting the event loop