Refresh Manifest Permissions

Description

Refreshes the permissions defined on a manifest.

See the development guide for a description of manifest permission processing.

Input

<RefreshManifestPermissions>
<nodeIdentifier/> <nodeReference/>
</RefreshManifestPermissions>

The manifest node is specified by numeric identifier or reference; identifier takes precedence over reference.

No credentials are passed; the permissions are always set using the authority of the node owner.

Output

<RefreshManifestPermissions>
<errorNumber>0</errorNumber>
</RefreshManifestPermissions>

Assuming the node exists, refresh manifest permissions never returns errors. Any errors in the permission setting itself (for example, if the owner is not authorised to set the permissions) are ignored. This is deliberate, as it allows manifest permissions to be influenced by modifying the permissions that the node owner has, which is important in some scenarios.

Errors

101 - Not authorised

102 - Not found

103 - Parameter error

Class

com.metrici.xerula.RefreshManifestPermissionsService