def _get_all_permissions(opts):
 builtin = _get_builtin_permissions(opts)
 custom = list(opts.permissions)
 return (builtin + custom)

def _get_all_permissions ( opts ) : builtin = _get_builtin_permissions ( opts ) custom = list ( opts . permissions ) return ( builtin + custom )
returns for all permissions in the given opts .