Permissions dropping
-
Hi guys,
I've had an issue for the last few days with permissions for certain users disappearing every day. Bit of a problem as we have clients looking at their dashboards and not being able to see any data which they could see the day before.
Below is an example of one of our sites permissions. Yesterday morning i made especially sure that each site had the proper permissions. Today i saw that a number of them had turned to null where previously they had the same permissions as those above them, namely mackerel, monitor and production.
Any help would be appreciated guys, let me know if you need more info and thanks in advance.
-
Had a development with this, we are getting most of our data points from local mango devices which poll via persistent TCP to a main server running mango. I just changed a couple of data points on one of the local devices (literally just adding a unit to the data point) and the permissions changed to null on the server mango.
We have recently updated our server to version 3.4.1 so i assume it's a new feature because it never happened with our older version but it would be better for us if this didn't happen. Is there a simple fix? -
Excuse me for budding in, I think only IAS staff can really help you here...I'm just wondering are the permissions on the main server that get changed to null different to the permissions on the local mango? i.e. are the permissions on the local server also null and then that null permission is getting sent to the main server...
Good Luck. -
Hi PSpivey, welcome to the forum!
This was caused by transmitting permissions being added to the persistent data source, but undesirable handling of the case where the sender isn't fully up to date and isn't transmitting permissions (or doesn't have permissions set). There are a couple solutions:
- On the persistent data sources which have been updated, there is a new setting "Overrides permissions" where you can set permissions for all received points. So, you could configure (a) permissions group(s) to be applied to all the points per receiver.
- You could update the remote sites if you want their permissions sent across. This would also give the publisher the ability to override the transmitted permissions fields. As with tags, the data source has the final say.
- You could update your receiver to version 3.4.2 of the persistent module, which has had this inconvenience dealt with by not adjusting the permissions of a data point if they're supposed to be received but aren't in the received message (unless they were to be overridden by the data source anyway). https://forum.infiniteautomation.com/topic/3505/release-notes-for-persistent-3-4-2
-
Hi Phil,
updating the receiver worked a charm, thanks heaps.