• antirez's avatar
    ACL: tag LASTSAVE as dangerous. · e819c2ef
    antirez authored
    That's not REALLY needed, but... right now with LASTSAVE being the only
    command tagged as "admin" but not "dangerous" what happens is that after
    rewrites the rewrite engine will produce from the rules:
    
        user default on +@all ~* -@dangerous nopass
    
    The rewrite:
    
        user default on nopass ~* +@all -@admin -@dangerous +lastsave
    
    Which is correct but will have users wondering about why LASTSAVE has
    something special.
    
    Since LASTSAVE after all also leaks information about the underlying
    server configuration, that may not be great for SAAS vendors, let's tag
    it as dangerous as well and forget about this issue :-)
    e819c2ef
server.c 178 KB