josefglatz/bureaucratic

Basics for professional TYPO3 projects

Installs: 1 622

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 4

Type:typo3-cms-extension

dev-main 2024-06-27 15:26 UTC

This package is auto-updated.

Last update: 2024-10-27 16:14:47 UTC


README

Part of professional_aspects

Overview

  • adopt backend related database fields for backend users
  • adopt tt_content database fields for a better list module overview
  • adopt User TsConfig to improve file/folder structure
  • add a http to https redirect middleware in the frontend
  • add many backend users related commands to notify or delete backend user records

Backend

Required fields for backend users

  • realName (trim, required)
  • email (trim, required, email, unique)

What the hell?

Required fields for tt_content

  • header (trim, required)

What the hell?

Disabled backend functionality

  • No direct uploads in backend forms. An editor have to upload files within the TYPO3 filelist module

What the hell?

Direct upload forms in backend forms motivates lazy backend editors to not structure their assets (files) in a folder structure. There are possibilities to add folders in the upload UI but most of the users do not use such features.

Frontend

Required packages

CLI Commands

CLI commands for backend users

This package comes with a bunch of schedulable CLI commands for managing and informing backend user records:

Multi Factor Authentication related

  • typo3 bureaucratic:backend:notify-users-without-mfa (and their need to activate it)
  • typo3 bureaucratic:backend:disable-users-without-activated-mfa

Managing inactive records (except some specific)

  • typo3 bureaucratic:backend:notify-not-loggedin-users
  • typo3 bureaucratic:backend:notify-admin-about-not-loggedin-users
  • typo3 bureaucratic:backend:notify-customer-about-not-loggedin-users
  • typo3 bureaucratic:backend:notify-customer-about-disabled-users

Delete longlasting disabled users

Command: typo3 bureaucratic:backend:delete-longlasting-disabled-users

  • argument to delete disabled records not modified since n days
  • argument to add where clause by usergroup id or exact usergroup column value
  • option to execute command in dry-run mode to list all affected records
  • report email of deleted records to specific email recipient(s)
  • notification email to affected user records
    • with support of bcc recipients
  • exclude test users via env variable

Examples

  • typo3 bureaucratic:backend:delete-longlasting-disabled-users

Managing misc records

  • typo3 bureaucratic:backend:list-test-users
  • typo3 bureaucratic:backend:validate-users-email-address