Skip to content

Conversation

skerbis
Copy link
Member

@skerbis skerbis commented Aug 14, 2025

  • Remove bloecks[settings] permission - admin only now
  • Move all extension point registration to Backend::init()
  • Add proper permission checks for drag & drop in boot.php
  • Separate permissions for copy/paste (bloecks[copy]) and drag & drop (bloecks[order])
  • Settings page now admin-only
  • Clean up boot.php by moving logic to Backend class

Permissions structure:

  • bloecks[] = full access to all features
  • bloecks[copy] = copy/paste only
  • bloecks[order] = drag & drop only
  • Settings page = admin only

- Remove bloecks[settings] permission - admin only now
- Move all extension point registration to Backend::init()
- Add proper permission checks for drag & drop in boot.php
- Separate permissions for copy/paste (bloecks[copy]) and drag & drop (bloecks[order])
- Settings page now admin-only
- Clean up boot.php by moving logic to Backend class

Permissions structure:
- bloecks[] = full access to all features
- bloecks[copy] = copy/paste only
- bloecks[order] = drag & drop only
- Settings page = admin only
Added translations for:
- perm_general_bloecks[] = Full access to all features
- perm_general_bloecks[copy] = Copy/paste functionality only
- perm_general_bloecks[order] = Drag & drop functionality only

Languages updated:
- German (de_de)
- English (en_gb)
- Spanish (es_es)
- French (fr_fr)
- Italian (it_it)
- Polish (pl_pl)
- Finnish (fi_fi)
- Swedish (sv_se)

These translations will be shown in the REDAXO admin when configuring user permissions.
@skerbis skerbis merged commit d2c8cc2 into main Aug 14, 2025
1 check passed
@skerbis skerbis deleted the fix/permissions-management branch August 14, 2025 12:21
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.

1 participant