<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Permissions and watchlist dropdown configuration]]></title><description><![CDATA[<p dir="auto">It seems that when I save a dynamic watchlist default parameter to which the user has access, all available deviceNames correctly populates the drop down list based on user permissions to the points.  However, if there is no default parameter saved for the W/L or the user does not have permission to the points which the default parameter queries then the dropdown list returns empty list and does not get populated with the deviceNames to which the user has access which is frustrating .  How does one make the watchlist parameter dropdown show only device names based on user point permissions?</p>
]]></description><link>https://forum.mango-os.com/topic/3472/permissions-and-watchlist-dropdown-configuration</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 11:22:36 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3472.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 May 2018 16:18:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Thu, 10 May 2018 15:46:03 GMT]]></title><description><![CDATA[<p dir="auto">Nice! Thanks for sharing how you got it initializing to a good value!</p>
<p dir="auto">We noticed that after I fixed the rest controller as noted in this thread, that the drop down did have the entries we desired by that the carrot to expand the watchlist wasn't clickable even though there were entries in the select. We clicked the select itself and it populated appropriately.</p>
]]></description><link>https://forum.mango-os.com/post/18374</link><guid isPermaLink="true">https://forum.mango-os.com/post/18374</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Thu, 10 May 2018 15:46:03 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Wed, 09 May 2018 15:56:14 GMT]]></title><description><![CDATA[<p dir="auto">Thank you again Phil for the help and I am happy to report all is working perfectly.  I removed the default parameter and set the watchlist parameter variable to the user's default device permission using a nested in-line if statement in the &lt;watchlist ng-init .  Works perfect  :&gt;)</p>
]]></description><link>https://forum.mango-os.com/post/18364</link><guid isPermaLink="true">https://forum.mango-os.com/post/18364</guid><dc:creator><![CDATA[Phillip Weeks]]></dc:creator><pubDate>Wed, 09 May 2018 15:56:14 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Tue, 08 May 2018 21:12:24 GMT]]></title><description><![CDATA[<p dir="auto">The file was too massive to email so sent you login info</p>
]]></description><link>https://forum.mango-os.com/post/18350</link><guid isPermaLink="true">https://forum.mango-os.com/post/18350</guid><dc:creator><![CDATA[Phillip Weeks]]></dc:creator><pubDate>Tue, 08 May 2018 21:12:24 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Tue, 08 May 2018 20:56:21 GMT]]></title><description><![CDATA[<p dir="auto">How about just one of the SQL backups?</p>
]]></description><link>https://forum.mango-os.com/post/18349</link><guid isPermaLink="true">https://forum.mango-os.com/post/18349</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 08 May 2018 20:56:21 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Tue, 08 May 2018 20:56:44 GMT]]></title><description><![CDATA[<p dir="auto">Doing it now Phil.  might be a bit 2 big.  200m zipped<br />
or I can send you long in details to see it yourself.</p>
]]></description><link>https://forum.mango-os.com/post/18348</link><guid isPermaLink="true">https://forum.mango-os.com/post/18348</guid><dc:creator><![CDATA[Phillip Weeks]]></dc:creator><pubDate>Tue, 08 May 2018 20:56:44 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Tue, 08 May 2018 20:12:32 GMT]]></title><description><![CDATA[<p dir="auto">Do you have any errors in your developer tools or in your log output when the list fails to present options?</p>
<p dir="auto">I am certain that I have tested the situation you're describing, and am not seeing the issue. Perhaps you can email my a zip of your database?</p>
]]></description><link>https://forum.mango-os.com/post/18343</link><guid isPermaLink="true">https://forum.mango-os.com/post/18343</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 08 May 2018 20:12:32 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Tue, 08 May 2018 19:38:57 GMT]]></title><description><![CDATA[<p dir="auto">ok I updated but it did not correct the issue ..When user201 logs in the dropdown is empty because the watchlist default parameter is set to unit202 and user201 does not have permission to unit202 points so the dropdown is empty and  no points are selected.<br />
If I clear the parameter and save the watchlist even superadmin gets an empty dropdown list.  I used 101 and 102 above but its same situation with 201 and 202.    User201 has access to Unit201 points and User202 has access to Unit202 &amp; Unit201. He sees a list because the default device202 has points he has permission to and user201 does not.</p>
]]></description><link>https://forum.mango-os.com/post/18342</link><guid isPermaLink="true">https://forum.mango-os.com/post/18342</guid><dc:creator><![CDATA[Phillip Weeks]]></dc:creator><pubDate>Tue, 08 May 2018 19:38:57 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Tue, 08 May 2018 17:36:15 GMT]]></title><description><![CDATA[<p dir="auto">I went ahead and released an updated API module just now, that's all that changed. Give it a whirl!</p>
]]></description><link>https://forum.mango-os.com/post/18324</link><guid isPermaLink="true">https://forum.mango-os.com/post/18324</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 08 May 2018 17:36:15 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Tue, 08 May 2018 17:25:39 GMT]]></title><description><![CDATA[<p dir="auto">Thank-you, that's awesome Phil , When is the next release date?</p>
]]></description><link>https://forum.mango-os.com/post/18321</link><guid isPermaLink="true">https://forum.mango-os.com/post/18321</guid><dc:creator><![CDATA[Phillip Weeks]]></dc:creator><pubDate>Tue, 08 May 2018 17:25:39 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Tue, 08 May 2018 16:12:37 GMT]]></title><description><![CDATA[<p dir="auto">I see how that could happen. The SQL keyword <code>DISTINCT</code> is in the select in that REST controller, so it's only checking the readPermission of the first point with a given deviceName from the dataPoints table. I have corrected this.</p>
]]></description><link>https://forum.mango-os.com/post/18318</link><guid isPermaLink="true">https://forum.mango-os.com/post/18318</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 08 May 2018 16:12:37 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Tue, 08 May 2018 01:56:15 GMT]]></title><description><![CDATA[<p dir="auto">We have a watchlist with a parameter variable selectedDevice representing a deviceName list selection and it is set to a default value of "device-102". If user102 has read point permissions to points for devices-101 and devices-102 then the watchlist parameter dropdown will contain deviceNames 101 and 102 only.  However if user101 loads the same watchlist and has access to only points on device-101 but not device 102 which is the default device for the watchlist then nothing gets loaded into the dropdown where one would like it to populate with device-101.  If there is no default deviceName saved for the watchlist parameter then neither user101 nor user102 will have values populated in the dropdown.</p>
]]></description><link>https://forum.mango-os.com/post/18310</link><guid isPermaLink="true">https://forum.mango-os.com/post/18310</guid><dc:creator><![CDATA[Phillip Weeks]]></dc:creator><pubDate>Tue, 08 May 2018 01:56:15 GMT</pubDate></item><item><title><![CDATA[Reply to Permissions and watchlist dropdown configuration on Mon, 07 May 2018 17:26:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi Phillip,</p>
<p dir="auto">Thanks for bringing this to our attention. I'm not sure I saw exactly what you're describing. In my tests, if a user had read permission to a point (not from set permission and not from data source permission, but actual read permission) then the device name was appearing in the parameter dropdown of device names. Otherwise, it was not, and the default setting didn't seem to affect anything. I have created this issue about it: <a href="https://github.com/infiniteautomation/ma-core-public/issues/1272" rel="nofollow ugc">https://github.com/infiniteautomation/ma-core-public/issues/1272</a></p>
]]></description><link>https://forum.mango-os.com/post/18307</link><guid isPermaLink="true">https://forum.mango-os.com/post/18307</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 07 May 2018 17:26:04 GMT</pubDate></item></channel></rss>