This is a migrated thread and some comments may be shown as answers.

Private Data access

1 Answer 34 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
n/a
Top achievements
Rank 1
n/a asked on 18 Sep 2015, 11:48 AM

Hello,

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.

Didier

1 Answer, 1 is accepted

Sort by
0
Lyubomir Dokov
Telerik team
answered on 18 Sep 2015, 03:13 PM
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.


Regards,
Lyubomir Dokov
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
Tags
General Discussion
Asked by
n/a
Top achievements
Rank 1
Answers by
Lyubomir Dokov
Telerik team
Share this question
or