Allow specifying permission for shortcuts.get_users_with_perms.