Skip to main content

ACL SAVE

Syntax

ACL SAVE

Module

acl

Categories

admin dangerous slow

Description

Saves the effective ACL rules the configured ACL config file. The save command overwrites the current ACL config file entirely and using the current in-memory ACL configuration.

Examples

Save ACL rules:

db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
ok, err := server.ACLSave()