mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-05-18 20:34:52 +00:00
🔄 **Refactor and extend meetup membership-based authorization**
- Updated `authorizeAccess` to restrict `meetups.edit` views and updates to users in "My-Meetups". - Attached creators to `meetup_user` pivot for default membership. - Adjusted related tests to validate membership-based edit permissions. 📱 **Improve sidebar and mobile navigation accessibility** - Added `aria-labels` to improve screen reader support for sidebar and mobile header elements. - Updated desktop and mobile user menus alignment for consistency. ⚡ **Enhance Lightning login flow** - Introduced `lightningLoginInProgress` for smoother polling synchronization with the redirect flow. - Updated logic to dispatch `lightning-login-ready` event instead of immediate redirect, avoiding race conditions.
This commit is contained in:
@@ -10,6 +10,11 @@ export default () => ({
|
||||
// session-id migration (which would otherwise yield a 419 on the next
|
||||
// round-trip).
|
||||
nostrLoginInProgress: false,
|
||||
// Toggled by the @lightning-login-ready handler in login.blade.php once
|
||||
// the server signals a matching LoginKey. Same purpose: pause wire:poll
|
||||
// before the full-page navigation to /auth/complete-lightning so the
|
||||
// browser does not race the redirect with another poll tick.
|
||||
lightningLoginInProgress: false,
|
||||
|
||||
async init() {
|
||||
this.startTime = Date.now();
|
||||
|
||||
Reference in New Issue
Block a user