Call Support:Direct: (214) 420-1337Toll Free: (877)
Monday through Friday 8 a.m. to 6 p.m. Central
Is it possible to check the current users permissions using the rest api. For example, i want a widget to make an ajax call to determine if the current user as create post permission on a selected blog.
You can list roles (telligent.com/.../22026.core-v2-role-widget-extension.aspx) by user id and the weblog and include permissions, (set include permissions = true, include = user, application = blogs, and the id = the blog's int id), then check through the permissions for each role looking for an Id of Blog_CreatePost and IsAllowed = true. If there are any then the user has permission to create a blog post for that blog.
Telligent Systems, Inc. ©2013, All Rights Reserved