Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 0281325

Browse files
committed
Added missing 'group' between entitlementPrefix and groupName in mapGroupName()
1 parent c733098 commit 0281325

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
44
## [Unreleased]
55
#### Fixed
66
- Using correct const for EntitlementPrefix in PerunEntitlement.php
7+
- Added missing 'group' between entitlementPrefix and groupName in mapGroupName()
78

89
## [v3.7.0]
910
#### Changed

lib/Auth/Process/PerunEntitlement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ protected function mapGroupName($request, $groupName)
201201
Logger::debug(
202202
'No mapping found for group $groupName for SP ' . $request['SPMetadata']['entityid']
203203
);
204-
return $this->entitlementPrefix . $groupName;
204+
return $this->entitlementPrefix . 'group:' . $groupName;
205205
}
206206
}
207207

0 commit comments

Comments
 (0)