MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ACLUserCanExecuteFutureCommands

Function ACLUserCanExecuteFutureCommands

app/redis-6.2.6/src/acl.c:388–390  ·  view source on GitHub ↗

When +@all or allcommands is given, we set a reserved bit as well that we * can later test, to see if the user has the right to execute "future commands", * that is, commands loaded later via modules. */

Source from the content-addressed store, hash-verified

386 * can later test, to see if the user has the right to execute "future commands",
387 * that is, commands loaded later via modules. */
388int ACLUserCanExecuteFutureCommands(user *u) {
389 return ACLGetUserCommandBit(u,USER_COMMAND_BITS_COUNT-1);
390}
391
392/* Set the specified command bit for the specified user to 'value' (0 or 1).
393 * If the bit overflows the user internal representation, no operation

Callers 1

Calls 1

ACLGetUserCommandBitFunction · 0.85

Tested by

no test coverage detected