Message-ID: <728218396.8494.1711702926293.JavaMail.confluence@ip-172-30-4-17.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8493_748358051.1711702926287" ------=_Part_8493_748358051.1711702926287 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Set_protected_access

Set_protected_access

The get_name_info message will let users set th= e protected access on any folder or any contents of the folder. If user set= s protected access to a folder, all the contents of the folder will recursi= vely get protected access.

=20

get_name_info R= equest Message

=20

This message requires the user to pass a index that is the parent or itm= e, and if they want the item protected.
<= strong>Who can set protected ac= cess

=20
    =20
  1. User should have a role of "DATA_PROT" in order to set protected access=
  2. =20
  3. If user is a manager then he or she can set protected access on any con= tent as long as they belong to his/her project id
  4. =20
  5. If user is not manager then user can set protected to access to either = shared content or his own content.
  6. =20
=20


Index: It should have= table code (given in workplace access table) and the index of the content =
protectedAccess: This element can be set to true or f= alse

&l= t;ns4:set_protected_access>
<index>\\demo\u5eHaJVYD2iaZ5LJu7Tu= 0</index>
<protectedAccess>true</protectedAccess>
= </ns4:set_protected_access>


=20

get_name_info = Response Message

=20

Client will need to call 'get_children' service once 'setProtectedAccess= ' returns a reponse. This is to ensure that client displays the correct col= ors for the protected access content. Client can set the color based on the= get_children service response which should have following
<protecte= d_access>Y</protected_access>

<= em>Example:
<result_status>
<status = type=3D"DONE">Workplace processing completed</status>
</res= ult_status>

------=_Part_8493_748358051.1711702926287--