Tie a Group to a Queue

Hello,

I need to tie a group to a queue. I have a queue called CC - Dev & a group
called Dev. I need a way to tie the Dev group to the Queue. I assigned
the proper rights to Dev on the queue, is there a way to query this from
the queue in a perl script? A way to say ‘Enumerate all the groups, pass
in to Queue->HasRight(Group, someRightIAssigned)’? Or is it easier to
create a custom field on the queue that only an admin can change (then how
do I populate it with the current groups?)

Thanks.

Kevin Holleran
Master of Science, Computer Information Systems
Grand Valley State University
Master of Business Administration
Western Michigan University
SANS GCFA, SANS GCFE, CCNA, ISA, MCSA, MCDST, MCP

“Do today what others won’t, do tomorrow what others can’t” - SEALFit

“We are what we repeatedly do. Excellence, then, is not an act, but a
habit.” - Aristotle

Perhaps I will make the group just an AdminCC. I do not necessarily want
everyone in the group to have elevated privileges on the queue (which I
think i can manage) or to receive a message/notification on every queue…

Thoughts on this approach?

Kevin Holleran
Master of Science, Computer Information Systems
Grand Valley State University
Master of Business Administration
Western Michigan University
SANS GCFA, SANS GCFE, CCNA, ISA, MCSA, MCDST, MCP

“Do today what others won’t, do tomorrow what others can’t” - SEALFit

“We are what we repeatedly do. Excellence, then, is not an act, but a
habit.” - AristotleOn Tue, Mar 26, 2013 at 2:36 PM, Kevin Holleran holleran.kevin@gmail.comwrote:

Hello,

I need to tie a group to a queue. I have a queue called CC - Dev & a
group called Dev. I need a way to tie the Dev group to the Queue. I
assigned the proper rights to Dev on the queue, is there a way to query
this from the queue in a perl script? A way to say ‘Enumerate all the
groups, pass in to Queue->HasRight(Group, someRightIAssigned)’? Or is it
easier to create a custom field on the queue that only an admin can change
(then how do I populate it with the current groups?)

Thanks.


Kevin Holleran
Master of Science, Computer Information Systems
Grand Valley State University
Master of Business Administration
Western Michigan University
SANS GCFA, SANS GCFE, CCNA, ISA, MCSA, MCDST, MCP

“Do today what others won’t, do tomorrow what others can’t” - SEALFit

“We are what we repeatedly do. Excellence, then, is not an act, but a
habit.” - Aristotle

Perhaps I will make the group just an AdminCC. I do not necessarily want
everyone in the group to have elevated privileges on the queue (which I
think i can manage) or to receive a message/notification on every queue…

Thoughts on this approach?

I didn’t fully understand first part of the question where you ask
about API, but basicly you either grant rights to a group directly, eg
go to queue’s group rights page and grant rights to a group rather
than privileged or other more generic groups, or you make a group
queue’s Cc/AdminCc and do rights granting via roles.

You can do combination of both.

As you guessed using Cc/AdminCcs roles on queues changes who recieves
notifications. I recall code that allows you to set up scrip to notify
ticket Ccs, but don’t notify ticket’s queue Ccs. However, I can not
find it in our repo.

So both variants are good. Pick what suits your case more.


Kevin Holleran
Master of Science, Computer Information Systems
Grand Valley State University
Master of Business Administration
Western Michigan University
SANS GCFA, SANS GCFE, CCNA, ISA, MCSA, MCDST, MCP

“Do today what others won’t, do tomorrow what others can’t” - SEALFit

“We are what we repeatedly do. Excellence, then, is not an act, but a
habit.” - Aristotle

Hello,

I need to tie a group to a queue. I have a queue called CC - Dev & a
group called Dev. I need a way to tie the Dev group to the Queue. I
assigned the proper rights to Dev on the queue, is there a way to query this
from the queue in a perl script? A way to say ‘Enumerate all the groups,
pass in to Queue->HasRight(Group, someRightIAssigned)’? Or is it easier to
create a custom field on the queue that only an admin can change (then how
do I populate it with the current groups?)

Thanks.


Kevin Holleran
Master of Science, Computer Information Systems
Grand Valley State University
Master of Business Administration
Western Michigan University
SANS GCFA, SANS GCFE, CCNA, ISA, MCSA, MCDST, MCP

“Do today what others won’t, do tomorrow what others can’t” - SEALFit

“We are what we repeatedly do. Excellence, then, is not an act, but a
habit.” - Aristotle

Best regards, Ruslan.

As you guessed using Cc/AdminCcs roles on queues changes who recieves
notifications. I recall code that allows you to set up scrip to notify
ticket Ccs, but don’t notify ticket’s queue Ccs. However, I can not
find it in our repo.

RT::Extension::NotifyBasedOnOwnership [1] contains an
RT::Action::NotifyAtTicketLevel action.

[1] RT::Extension::NotifyBasedOnOwnership - Adds scrip conditions and actions useful for suppressing notifications to queue watchers when a ticket becomes owned - metacpan.org