[rt-users] Question about setting RTFM rights

2012-05-10 Thread Joop
I'm currently developing a script which will set rights for various groups
on all our queues and groups. But I have hit a problem, I'm using RT-4.0.5
with AT-2.0.2beta
Setting the RT rights on the queues and groups is working well but the
problem is setting the RTFM rights. I want to set the rights on Classes,
the corresponding webpage is:
http://localhost/Admin/Articles/Classes/GroupRights.html?id=1
The rights are coupled to the RT::Class object but then I don't know how
to proceed. Looked at the tests available with RT but no example with
Articles/Classes and setting rights.
Anyone done this and would be willing to enlight me how to proceed?

Thanks in advance,

Joop




Re: [rt-users] Question about setting RTFM rights

2012-05-10 Thread Ruslan Zakirov
On Thu, May 10, 2012 at 11:47 AM, Joop  wrote:
> I'm currently developing a script which will set rights for various groups
> on all our queues and groups. But I have hit a problem, I'm using RT-4.0.5
> with AT-2.0.2beta
> Setting the RT rights on the queues and groups is working well but the
> problem is setting the RTFM rights. I want to set the rights on Classes,
> the corresponding webpage is:
> http://localhost/Admin/Articles/Classes/GroupRights.html?id=1
> The rights are coupled to the RT::Class object but then I don't know how
> to proceed. Looked at the tests available with RT but no example with
> Articles/Classes and setting rights.
> Anyone done this and would be willing to enlight me how to proceed?


my ($status, $msg) = $group->PrincipalObj->GrantRight(
Right => 'RightName',
Object => $article_class_obj,
);

>
> Thanks in advance,
>
> Joop
>
>



-- 
Best regards, Ruslan.


Re: [rt-users] Question about setting RTFM rights

2012-05-10 Thread Joop van de Wege
Thanks Ruslan, it works

Joop

[rt-users] ldap import extension privileged users

2012-05-10 Thread Joachim Thuau

Hello List,

I was looking for a way to get a number of users for a new implementation
of RT to automagically set certain users as "privileged" if they were in a
set of groups. 

I write a patch and submitted that to the RT-Extension-LDAPImport bug
tracker. But I now realize that this might already be possible, without my
ugly patch. 

I'm thinking about undoing my mess and setup a cron job that would do
something similar (run a LDAP query, get a list, and walk all the users,
and "unprivileged" those that are not in the result set, and privilege the
others).

Does anyone have any suggestions?

Thanks,
Jok
-- 
| Joachim Thuau | IT Systems Engineer - Linux / SpaceX |
| Cell: 310-890-7937 | Office: 310-363-6153 |





Re: [rt-users] ldap import extension privileged users

2012-05-10 Thread Joachim Thuau
Oops -- missed attaching the patch.

This is my first real contribution in perl. Code feedback is welcome! :)

Thanks,
Jok
-- 
| Joachim Thuau | IT Systems Engineer - Linux / SpaceX |
| Cell: 310-890-7937 | Office: 310-363-6153 |



ldap-import-privileged-filter.diff
Description: ldap-import-privileged-filter.diff


[rt-users] RT update from ubuntu distro

2012-05-10 Thread David T. Grayston
Hi all,

I've attempted to update RT from v4.0.4 to v.4.0.5 - the catch is the 4.0.4 is 
from Ubuntu distro (apt-get install request-tracker4).

I think I've only got one issue at this point and that is the distro puts 
RT_SiteConfig.pm under "/etc/request-tracker4" not "${RTHOME}/etc/". I couldn't 
find a configuration setting for ./configure or one in config.layout that could 
be set for this location.

Perhaps minor issue since I can just move RT_SiteConfig.pm to the default 
folder but it may confuse me down the road.

Thanks, David
--
David T. Grayston Systems & Database Administrator
University of Washington   School of Public Health



Re: [rt-users] Setting us users for read only access

2012-05-10 Thread Kenneth Crocker
Zoedog,

Depending on how many Global rights you have granted, just don't give them
the "ModifyTicket" right and don't let them modify comments, reply to
tickets or modify any custom fields.

Kenn

On Wed, May 9, 2012 at 12:00 PM, Zoedog  wrote:

>
> I have a requirement to set up a select few users for read only access,
> what
> is the best way to do that.
> --
> View this message in context:
> http://old.nabble.com/Setting-us-users-for-read-only-access-tp33763651p33763651.html
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
>
>