Acl Policy with Andrdoid SDK

Home Forums Convertigo Products Acl Policy with Andrdoid SDK

This topic contains 3 replies, has 2 voices, and was last updated by  megane.vilain@gmail.com 1 week, 1 day ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #255706

    Hi,

    I’m actually using the sdk to post documents to a fullsync database by using the fs:post requestable.

    I wanted to know if i can change the Acl Policy from the sdk. I would like to set the value of the ~c8oAcl myself and not use the Authenticated user of the session.

    Thanks in advance.

    #255707

    admin
    Keymaster

    No, You cannot do directly from SDK. If this was allowed it would break the product security framework allowing any client to change identity without server control.
    This is why if you want to change the acl, you may use a server sequence triggered by a FullSync listener and this sequence will be able to change the ACL call a FS Post transaction. Of course you will be responsible to check if this modification is legal in your sequence.

    Hope That Helps
    Convertigo Support.

    #255708

    admin
    Keymaster

    No, You cannot do directly from SDK. If this was allowed it would break the product security framework allowing any client to change identity without server control.
    This is why if you want to change the acl, you may use a server sequence triggered by a FullSync listener and this sequence will be able to change the ACL call a FS Post transaction. Of course you will be responsible to check if this modification is legal in your sequence.

    Hope That Helps
    Convertigo Support.

    #255709

    Thanks a lot for your answer.
    Could you give me an example ? Should i use a PutUdpate or a PostDocument transaction ?
    In this project we already have a full sync listener to push the documents to a Database.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.