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 object and 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, the coreNode 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 posts from one board to another? I see that you can move all checked posts, 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 on coreNode.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 notification is 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 example for the entire freemarker syntax looking for something 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 trouble figuring out how to structure the rest call to change the value. After looking through the api documentation, 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 the more 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