. . "GET" . . "text/xml" . "EntryPoint - acl_rules_new" . . . "

Create a new ACL rule.

" . "

Data access in ODS is controlled via Access Control Lists (ACL). In practice this comes down to a set of rules giving or revoking access to certain people or groups. Each rule grants access to or revokes access from a certain resource or type of resource.

ODS allows to define rules on the user profile (by specifying the user's profile URL) or any DAV resource the user has access to. In case of the user profile those parts of the profile which are set to be protected are shared. See also user.acl.update().

  • \n\nresource\n\n\n

    The resource to grant access to. If omitted the rule will be created for the user's profile.

    \n
  • \n
  • \n\nrule\n\n\n

    The ACL rule specified as a JSON string. See ODS ACL Rules for details.

    \n
  • \n\n

    An error code stating the success of the command execution as detailed in ODS Error Result Codes. In case of an error the HTTP status code is set accordingly.

    \nAuthentication

    This function requries authentication via one of the supported authentication methods as described in ODS Authentication.

    \n

    " . .