- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 02:37 PM
We are a provider of service for multiple agencies and the issue we have now is that each agency wants to hide the majority of their incident data away from one another based upon the caller and the assignment group that the incident is assigned to. They have agreed to leave some fields globally visible to everyone such as the Incident Number, Short Description, Assignment Group, etc... so that can keep an eye on cross-agency incidents. We also dynamically hide tabs as well to prevent them from getting access to the activity stream.
Is there a way to also hide or prevent access to the related attachments section on that incident using a client script, ACL or combination of the two?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 06:15 AM
Looking at another example of how to hide other elements on the page, I found the following line that seemed to have fixed the issue:
gel('header_attachment').style.display='none'; |
Putting this into the client script that also hides some tabs on the incident form resulted in the entire attachment header being removed from the view. I think this is what we are looking to get accomplished.
Not for sure if this is deprecated or if it ever will be but hopefully not... lol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 06:42 AM
I would agree with an ACL would be better but I don't know how to do that just for the Incident table and only when the user meets a list of criteria based upon the incident itself.
Ex. The currently logged in user would have to:
· Be the caller.
· Be a member of the same department as the caller.
· Be a member of the same department as the assignment group.
~ J ~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2024 09:30 AM
This is not working on a custom Scoped application. Could you please suggest what can be done?