[rt-users] Perl API Help for group rights and queue rights

Krieg, Alexander alexander.krieg at desy.de
Fri Mar 9 08:37:01 EST 2007


Hi everybody,

sorry i think in my last email i didn't see clearly the through the 
right management.
What i mean is, how to give inside the Queue 'testqueue' the Group 
'testgroup' a queueright e.g.  'SeeQueue' or 'showTicket'


Best regards
Alexander Krieg

> Hi everybody,
>
> i already realised to create create queues and groups via the API, 
> that works all fine.
> Where i hang at the moment is the right management.
> I guess i can set rights for groups over something like
> my $group = RT::Group->new($RT::SystemUser);
>    $group->LoadUserDefinedGroup('my group name');
>    $group->SetPrincipal('?');
> and than to set the right  i want for this group and the same for a 
> queue.
>
> But how to tell RT that for example in my Queue 'testqueue' the group 
> 'testgroup' has the right to  EditSafedSearches.
> Wow to do this in the API and how does RT organises this,  i can 
> understand how a  group or a queue can get rights but the connection 
> between both is a bit  buffling to me at the moment, even i guess 
> everything runs over ACL and Principals table.
> Could anybody help me a bit out here.
>
>
> Best Regards
> Alexander Krieg
>


-- 
-------------------------------------------------------------------------
Alexander Krieg / IT-Benutzerservice / www.desy.de / Tel.+49-40-89983219
Deutsches Elektronen-Synchrotron DESY / Notkestr. 85 / D-22603 Hamburg




More information about the rt-users mailing list