ContributionsMost RecentMost LikesSolutionsHow to check if a user has permission to read a board Right now there is a method that checks if the user has a permission on the current node,"coreNode.permissions.hasPermission("PROPERTY")" I wonder if there is any way that I can check the permissions on some other node. My current use case for this is to create a menu. If a user has permission to read a board, the board should be included in the menu. If not, it should be omitted. I tried getting the node objectand passing it like "THISNODE.permissions.hasPermission("PROPERTY")" but no luck. Maybe there is some other way? Or maybe im using it wrong/syntax error. How to identify requested url of a "Node Not Found" error If a node does not exist, thecoreNode context object seems to revert to a default. Is there any way in freemarker to check what node the user was attempting to reach? I would ideally be performing this check in the common.init so that I can run some logic to either show the NNF error or initiate a redirect, depending on what node was requested. How to bulk move posts Is there a way to move all postsfrom one board to another? I see that you can move all checkedposts, but this only moves the boards on that page of the pagination. It would have to be repeated for every page of that board. How to tell if the requested node exists? Im trying to add a function to my common.init that is basically <#if node exists > do stuff </#if> I tried the following but no luck. <#if !coreNode> <#if !coreNode.id> <#if !coreNode.ancestors> <#if page.name == "ErrorPage"> but none of them actually run their contents on a nonexistant node. Is there a way to check if the requested node exists? Re: Documentation for coreNode.permissions.hasPermissionThanks! I was actually after the list of identifiers, but if you follow the links from there, theres a PDF that has them https://community.lithium.com/t5/Roles-and-permissions/Permission-descriptions/ta-p/108801?attachment-id=5531 Thanks!Documentation for coreNode.permissions.hasPermission I remember finding some documentation oncoreNode.permissions.hasPermission, but I cant find it anymore. Anyone know where this went? I understand that this might still be "experimental." Nevertheless its a method we use, and I would like to understand it better. SolvedDifferent CSS for Read/Unread messages I am getting feedback from my users that they cant tell which of their notifications are read vs unread. Is there some style attribute that can be applied when a notificationis read or seen? API post syntax Ive been looking all over the documentation and i cant find an example of an API Post. There are lots of examples of how to construct the URL, but i havent been able to find an examplefor the entire freemarker syntax looking forsomething along these lines <#sometag [stuff] /url/set?value="xyz" [stuff] /> Does anyone know how to do this? thanks! SolvedChange language value I would like to be able to update a users language preference. I am able to view the preference here: {community url}/restapi/vc/users/id/{user id}/profiles/?profile.language But im having troublefiguring out how to structure the rest call to change the value. After looking through the apidocumentation, i am still a little lost. thanks!! Solved"title" not a valid LiQL constraint I have several categories and their titles are similar to the following "Moderators ABC" "Moderators XYZ" "Moderators 123" I attemted to access them, first by themore direct SELECT title FROM categories WHERE title = "Moderators ABC" and also by SELECT title FROM categories WHERE title MATCHES "Moderators" Both of these queries returned a 604 error that said"'title' is not a valid constraint for the object 'categories'." Does anyone know why title might not be a valid constraint? And what I can do to select all of my Moderators categories? Thanks! Solved