Cannot acknowledge alarms after update to new version of control system gui
The "acknowledge alarm" controls are greyed out, even though on the "security info" panel it claims the user has "alarm_acknowledge" permission. This probably has something to do with the improved authentication and authorization features in Control System Studio 3.3.10a and how they are implemented in the NSLS2 distribution.
#1 Updated by Glenn Horton-Smith over 4 years ago
- % Done changed from 0 to 90
The default settings in org.csstudio.security were giving all users permissions named "alarm_config" and "alarm_acknowledge". However, looking in the source code for cs-studio/applications/plugins/org.csstudio.alarm.beast.ui/src/org/csstudio/alarm/beast/ui/AuthIDs.java, I found the
name of the alarm acknowledge permission is "alarm_ack".
After some more reading through chapter 13 of http://cs-studio.sourceforge.net/docbook/css_book.pdf, I was able to make a custom preferences file that directs CSS to use a custom authorization.conf file that grants both alarm_ack and alarm_acknowledge to all users. As an added benefit, I have removed alarm_config from all users, which is something Sowjanya and I had on our to-do list for a while.
Just need to install this in the shared gui now.