Is there any way to restrict the Activities inside incident

Alon Grod
Tera Expert

Hi,

 

I have the field u_operational_comments of type Journal. Is there any way to restrict the Activities so that only users from the same group will be able to see each other comments in the activities when using u_operational_comments to type noes.

For example, only users that are in the same group like Alon Grod (in this example) will be able to see the comment 'test123'.

Screen Shot 2023-02-02 at 16.54.17.png

5 REPLIES 5

emeliawest
Mega Contributor

There are a few ways to restrict the activities that run inside of an incident. The first is to create a custom Activity and only include the actions that you want to happen inside of the incident. The second is to use the "Run only allowed activities" setting inside of the Security tab of an incident. This will restrict the activities that can run inside of an incident to only those that are allowed by the setting. The third is to use a Custom Field inside of an incident and set the value to "Restricted". This will restrict the activities that can run inside of the incident to only those that have the "Restricted" custom field. For more information click here

Mike_R
Kilo Patron
Kilo Patron

You will need to create a custom ACL(s) and use a script to enforce that logic.

 

@Mike_R hi can you please be more specific

Here's an example. Change the "Additional comments" field to your field, and customize the script as needed.

Mike_R_0-1675351731702.png

 

if (gs.getUser().isMemberOf(current.assignment_group)) {
    answer = true;
} else {
    answer = false;
}