Ignore:
Timestamp:
06/16/2026 10:56:49 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
09ac0a5
Parents:
9915786
Message:

Hub: show bottom tab (Home/Search/Login) on the hub landing too

The bottom tab fell under bareChrome → disappeared on the hub-home (no nav
on mobile). Now shown everywhere except auth screens. canCreatePost hardened
against a null site (hub landing without a site context) so the tab does not
crash for logged-in members.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/PermissionsService.js

    r9915786 r6224462  
    4444    if (!user) return false;
    4545    if (user.role === 'god') return true;
     46    if (!site) return false; // geen site-context (bv. hub-landing) -> niets te posten
    4647    if (user.id === site.owner_id) return true; // Site owner
    4748    if (this.canAdminSite(user, site)) return true;
Note: See TracChangeset for help on using the changeset viewer.