-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-3682: AdminUI extension points to be used by Corporate Account #596
Conversation
@@ -4,7 +4,7 @@ | |||
<meta charset="UTF-8" /> | |||
<meta name="CSRF-Token" content="{{ csrf_token('authenticate') }}" /> | |||
<meta name="SiteAccess" content="{{ app.request.get('siteaccess').name }}" /> | |||
<meta name="UserId" content="{{ ibexa_admin_ui_config.user.user.id }}" /> | |||
<meta name="UserId" content="{{ ibexa_admin_ui_config.user.user.id|default() }}" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks little strange, that in twig for admin panel there can be no authenticated user, but I guess it has sth to do with corporate account and it's necessary evil
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldnt that be anonymous user id anyway?
@Nattfarinn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. user
is null.
src/bundle/Resources/views/themes/admin/content/edit_macros.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content/edit_macros.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content/edit_macros.html.twig
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Required by: https://github.com/ibexa/corporate-account/pull/95