WebDAVAccessControlEntry


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.26" ) ]
public WebDAVAccessControlEntry (WebDAVACEPrincipalKind principal_kind, string? principal_href, uint32 flags, string? inherited_href)

Describes one Access Control Entry (ACE).

The flags should always contain either GRANT or DENY value.

Use append_privilege to add respective privileges to the entry.

Parameters:

principal_kind

an WebDAVACEPrincipalKind

principal_href

principal href; should be set only if principal_kind is E_WEBDAV_ACE_PRINCIPAL_HREF

flags

bit-or of WebDAVACEFlag values

inherited_href

href of the resource from which inherits; should be set only if flags contain E_WEBDAV_ACE_FLAG_INHERITED

Returns:

A newly created WebDAVAccessControlEntry, prefilled with given values. Free it with webdav_access_control_entry_free, when no longer needed.