<?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[Data Source management permission can&#x27;t enable datasources]]></title><description><![CDATA[<p dir="auto">Hi there!<br />
Is there a way to give users permission to enable/disable datasources without being a super-admin?</p>
<p dir="auto">I put a new user group called "ds-mngt" in the "Data Source Management Permissions"(System settings), afterwards users can access and create DS in the DS page. However, when those users try to enable/disable any DS(which they have edit permissions or even the ones they create themselves), an error message says: "Method toggle requires admin access"</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://forum.mango-os.com/topic/4116/data-source-management-permission-can-t-enable-datasources</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 14:10:03 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4116.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Mar 2019 17:21:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Data Source management permission can&#x27;t enable datasources on Thu, 27 Jun 2019 20:33:55 GMT]]></title><description><![CDATA[<p dir="auto">Oh yes, now I see that the problem happens only in the legacy UI, in the new datasource page UI, the feature is working properly!</p>
]]></description><link>https://forum.mango-os.com/post/22557</link><guid isPermaLink="true">https://forum.mango-os.com/post/22557</guid><dc:creator><![CDATA[Ava]]></dc:creator><pubDate>Thu, 27 Jun 2019 20:33:55 GMT</pubDate></item><item><title><![CDATA[Reply to Data Source management permission can&#x27;t enable datasources on Thu, 27 Jun 2019 18:48:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi Ava,</p>
<p dir="auto">What are you seeing?</p>
<p dir="auto">If you go into the Administration --&gt; Edit menu to make sure that the data source menu icon (under administration) is visible to the user with data source management permissions. At that point they should be able to click on the Data Sources item in the menu to get to the new data sources page, where they could toggle data sources either by setting them enabled in the editor or using the toggle switch (you may need to fullscreen your browser to see the toggle switches). I just tested this on 3.6.0 and was able to toggle any data source with a user who only had data source management permission.</p>
<p dir="auto">In 3.6 any user can navigate via URL to /ui/administration/data-sources but only users with admin or data source management permissions can create new sources. A user with no permissions saved on their users page still possesses the role of 'user' so they would be able to toggle / edit data sources with an edit permission of 'user'</p>
]]></description><link>https://forum.mango-os.com/post/22547</link><guid isPermaLink="true">https://forum.mango-os.com/post/22547</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Thu, 27 Jun 2019 18:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to Data Source management permission can&#x27;t enable datasources on Thu, 27 Jun 2019 13:13:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi Phil, I just updated my testing instance to 3.6 now, but I didn't see the function working as you mentioned.<br />
Was it deployed?</p>
<p dir="auto">Andre</p>
]]></description><link>https://forum.mango-os.com/post/22539</link><guid isPermaLink="true">https://forum.mango-os.com/post/22539</guid><dc:creator><![CDATA[Ava]]></dc:creator><pubDate>Thu, 27 Jun 2019 13:13:41 GMT</pubDate></item><item><title><![CDATA[Reply to Data Source management permission can&#x27;t enable datasources on Mon, 25 Mar 2019 20:33:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi Ava, welcome to the forum!</p>
<p dir="auto">In 3.5.6 there is not a way to allow a non-admin user to toggle a data source from that page. If one wished to give a non-admin user the ability to turn a data source off, one would have to do so via a script with a binary point in its context.</p>
<p dir="auto">Then when the point changes, the script,</p>
<pre><code>if(enabled.value === true) {
  //Do we need to restart, or just ensure it's running?
  RuntimeManager.enableDataSource("DS_XID");
} else {
  RuntimeManager.disableDataSource("DS_XID");
}
</code></pre>
<p dir="auto">And then the ability to enable or disable the data source is a function of the permissions to set the binary point (in context as <code>enabled</code> )</p>
<p dir="auto">In 3.6 this has been changed to function as you had intuited. Originally I believe an argument was made that a lesser user should not readily be able to stop the acquisition of data but was rather expected to be making adjustments to data point settings and whatnot, but I don't think that was clear or really necessary to limit this way. But, I could recall incorrectly; it could be a bug.</p>
]]></description><link>https://forum.mango-os.com/post/21628</link><guid isPermaLink="true">https://forum.mango-os.com/post/21628</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 25 Mar 2019 20:33:57 GMT</pubDate></item></channel></rss>