Fix table case sensitive for permissions