Add get_privileges method