Project

General

Profile

Bug #8990

Cannot acknowledge alarms after update to new version of control system gui

Added by Glenn Horton-Smith almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
slow monitoring and control
Start date:
06/01/2015
Due date:
% Done:

90%

Estimated time:
Spent time:
Duration:

Description

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.

History

#1 Updated by Glenn Horton-Smith almost 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.

#2 Updated by Glenn Horton-Smith almost 4 years ago

  • Status changed from New to Resolved

Took a few false starts, but finally deployed the solution.

#3 Updated by Glenn Horton-Smith almost 4 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF