• jani@a193-229-222-105.elisa-laajakaista.fi's avatar
    Added more tests to grant2. Fixed some previous tests. · 5537d214
    Added new logic to ACL system:
    
    1) If GRANT OPTION (not mysql db):
       Ok to update existing user, but not password.
       Not allowed to make a new user.
    
    2) If UPDATE_ACL to mysql DB:
       Ok to update current user, but not make a new one.
    
    3) If INSERT_ACL to mysql DB:
       Ok to add a new user, but not modify existing.
    
    4) If GRANT OPTION to mysql DB:
       All modifications OK.
    5537d214
grant2.test 10.3 KB