"Value %s is not allowed for key %s - supported values are 'yes', 'no', 'auth_root', 'auth_root_keep_session', 'auth_root_keep_always', 'auth_self', 'auth_self_keep_session', 'auth_self_keep_always'",
s,
key);
ret=FALSE;
}
g_free(s);
returnret;
}
/**
* libpolkit_privilege_file_new:
* @path: path to privilege file
* @error: return location for error
*
* Create a new #PolKitPrivilegeFile object. If the file does not
* validate, a human readable explanation of why will be set in
* @error.
*
* Returns: the new object or #NULL if error is set