Last active
November 24, 2017 19:18
-
-
Save gngeorgiev/ed034a93728f1fdb09aad260aa8eb6b4 to your computer and use it in GitHub Desktop.
sashido-telerik-platform-acl.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var PrivateUserData = el.data('PrivateUserData'); | |
| el.Data('SomeContentType').findId('item-id') | |
| .then(res => { | |
| //find item id from PrivateUserData | |
| return everlive.users.currentUser() | |
| .then(user => PrivateUserData.setOwner(user.Id, res.result.Id)); | |
| }); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment