Skip to content

Commit b3220c3

Browse files
Extra mapping Quanthub.PortalContentEditor => content_editor (#259)
1 parent afb0cdf commit b3220c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/quanthub_core/src/EventSubscriber/OidcEventsSubscriber.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ class OidcEventsSubscriber implements EventSubscriberInterface {
1616
/**
1717
* Extra roles mapping.
1818
*/
19-
const DEFAULT_ROLES = [];
19+
const DEFAULT_ROLES = [
20+
'Quanthub.PortalContentEditor' => 'content_editor',
21+
];
2022

2123
/**
2224
* The OpenID Connect session service.

0 commit comments

Comments
 (0)