Skip to content
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

Merged
merged 2 commits into from
Oct 12, 2022

Conversation

Nattfarinn
Copy link
Contributor

@@ -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() }}" />
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. user is null.

@GrabowskiM GrabowskiM requested a review from a team October 11, 2022 10:43
@sonarcloud
Copy link

sonarcloud bot commented Oct 11, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Nattfarinn Nattfarinn merged commit 22cb58e into main Oct 12, 2022
@Nattfarinn Nattfarinn deleted the ibx-3682-management branch October 12, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants