[Bps-public-commit] rt-extension-rest2 branch, master, updated. 1.09-5-gf4d4e84
? sunnavy
sunnavy at bestpractical.com
Mon Dec 7 17:32:48 EST 2020
The branch, master has been updated
via f4d4e84a16904adca2afd645fcd801c732853cf7 (commit)
from e11fc1718ae51bd7eae16255dd620e834df315ec (commit)
Summary of changes:
xt/ticket-customroles.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit f4d4e84a16904adca2afd645fcd801c732853cf7
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 8 06:26:51 2020 +0800
Grant SeeQueue right to make applied custom roles visible again
In 926c20ea99 of RT, we check right(SeeQueue) before returning custom
roles applied to the queue. This commit grants it accordingly to make
tests happy again.
diff --git a/xt/ticket-customroles.t b/xt/ticket-customroles.t
index a2bc034..65dce66 100644
--- a/xt/ticket-customroles.t
+++ b/xt/ticket-customroles.t
@@ -40,7 +40,7 @@ for my $email (qw/multi at example.com test at localhost multi2 at example.com single2 at ex
}
$user->PrincipalObj->GrantRight( Right => $_ )
- for qw/CreateTicket ShowTicket ModifyTicket OwnTicket AdminUsers SeeGroup/;
+ for qw/CreateTicket ShowTicket ModifyTicket OwnTicket AdminUsers SeeGroup SeeQueue/;
# Create and view ticket with no watchers
{
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list