Changeset 6224462 in Klonkt
- Timestamp:
- 06/16/2026 10:56:49 PM (3 months ago)
- Branches:
- main
- Children:
- 09ac0a5
- Parents:
- 9915786
- Location:
- src
- Files:
-
- 2 edited
-
services/PermissionsService.js (modified) (1 diff)
-
views/shell.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/services/PermissionsService.js
r9915786 r6224462 44 44 if (!user) return false; 45 45 if (user.role === 'god') return true; 46 if (!site) return false; // geen site-context (bv. hub-landing) -> niets te posten 46 47 if (user.id === site.owner_id) return true; // Site owner 47 48 if (this.canAdminSite(user, site)) return true; -
src/views/shell.ejs
r9915786 r6224462 294 294 <%- include('partials/footer') %> 295 295 296 <!-- Mobile bottom-tab navigation (auto-hidden ≥768px) — niet op landing/auth --> 297 <% if (!bareChrome) { %> 296 <!-- Mobile bottom-tab navigation (auto-hidden ≥768px). Toont overal — óók op de 297 hub-landing (zodat mobiel altijd Home/Zoek/Inloggen heeft) — behalve op de 298 auth-focusschermen. --> 299 <% if (!(typeof bodyClass === 'string' && bodyClass.indexOf('on-auth') >= 0)) { %> 298 300 <%- include('partials/bottom-tab') %> 299 301 <% } %>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)