Private Data access

2 posts, 0 answers
  1. Didier
    Didier avatar
    4 posts
    Member since:
    Mar 2013

    Posted 18 Sep 2015 Link to this post


    I am new to Telerik Backend.

    I would like to build an app where only the owner of the information can access its own informations. I saw that I can set a type to private. But how can I fill in the Owner and CreatedBy/ModifiedBy of the entity if that is the solution ?


    Or any other suggestions or code example ?

    Thanks and best regards.


  2. Lyubomir Dokov
    Lyubomir Dokov avatar
    44 posts

    Posted 18 Sep 2015 Link to this post

    Hello Didier,

    Indeed, the Private permissions setting is what you need in order to accomplish your scenario.

    The Owner, ModifiedBy and CreatedBy fields are automatically maintained by our service. In order to use them you need to authenticate as a specific user. Once you are logged in, the service automatically sets you as owner for items you create and also maintains the values of CreatedBy and ModifiedBy.

    You can read more about User Management here. Basically, in your app you need to provide functionality for registering a user, and also a login/logout functionality. All standard user management features are available out-of-the-box:
    • email verification
    • recovering forgotten passwords
    • secret question and answer
    • authentication with Facebook, Twitter, etc.

    If you need something more specific, let me know, I would be happy to provide a code snippet. You can also check our samples.

    Since I am not sure what language/platform you are working with, all the links above are leading to the JavaScript version of our documentation. Note, however, that User Management and permissions are available in all of our SDKs.

    Let me know if you have any other questions.

    Lyubomir Dokov
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
Back to Top