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

Function ACLInitDefaultUser

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

Initialize the default user, that will always exist for all the process * lifetime. */

Source from the content-addressed store, hash-verified

1043/* Initialize the default user, that will always exist for all the process
1044 * lifetime. */
1045void ACLInitDefaultUser(void) {
1046 DefaultUser = ACLCreateUser("default",7);
1047 ACLSetUser(DefaultUser,"+@all",-1);
1048 ACLSetUser(DefaultUser,"~*",-1);
1049 ACLSetUser(DefaultUser,"&*",-1);
1050 ACLSetUser(DefaultUser,"on",-1);
1051 ACLSetUser(DefaultUser,"nopass",-1);
1052}
1053
1054/* Initialization of the ACL subsystem. */
1055void ACLInit(void) {

Callers 2

ACLInitFunction · 0.85
ACLLoadFromFileFunction · 0.85

Calls 2

ACLCreateUserFunction · 0.85
ACLSetUserFunction · 0.85

Tested by

no test coverage detected