Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorsunnavy <sunnavy@bestpractical.com>2022-10-04 22:39:17 +0300
committersunnavy <sunnavy@bestpractical.com>2022-10-19 00:25:59 +0300
commita25e815eec6414668cb25d014b461316cdc97664 (patch)
treed5667ece58299089f236ee7d24e03b8663105c5d /sbin
parent76f93bf82b0039ae58b352f9becc58c26de4382a (diff)
Relax requirements about role names to be unique for each lookup type
Diffstat (limited to 'sbin')
-rw-r--r--sbin/rt-validator.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/rt-validator.in b/sbin/rt-validator.in
index fa6730547b..ba67577e23 100644
--- a/sbin/rt-validator.in
+++ b/sbin/rt-validator.in
@@ -420,7 +420,7 @@ push @CHECKS, 'User Defined Group Name uniqueness' => sub {
push @CHECKS, 'Custom Role Name uniqueness' => sub {
return check_uniqueness(
'CustomRoles',
- columns => ['Name'],
+ columns => ['Name', 'LookupType'],
action => sub {
return unless prompt(
'Rename', "Found a custom role with a non-unique Name."