Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KANBAN View doesn't respect OwnTicket Rights #3

Open
tbrumm opened this issue Dec 13, 2018 · 0 comments
Open

KANBAN View doesn't respect OwnTicket Rights #3

tbrumm opened this issue Dec 13, 2018 · 0 comments

Comments

@tbrumm
Copy link

tbrumm commented Dec 13, 2018

Hi Guys,
just played around with this Addon and figured out, that Kanban Lanes doesn't respect the Own Ticket Rights on the objects display. All priv. Users are displayed inside every tickets user dropdown.

from the INIT Part:
<%INIT>
my $users = RT::Users->new($session{'CurrentUser'});
$users->LimitToPrivileged;
.
.
.
and from the Templates part:
% while ( my $user = $users->Next ) {
<option style='color:black;background-color:#DDD' value="<% $user->Name %>"
{{? it.Owner == "<% $user->Name %>"}}
selected="selected"
{{?}}
><% $user->Name %>
%}

All priv users are loaded. This results in very long load times inside systems with lots of users.

Greetings from hamburg

torsten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants