sprinkle-uf-tweaks

Fixes/tweaks a few "issues" with the default UserFrosting installation, including:

  • Removes the uri_dashboard permission from 'users' role
  • Adds the uri_dashboard permission to the site-admin and group-admin roles
  • Restructures the dashboard to be more role-friendly
  • Fixes the authenticator generating 'PHP Notice's (parameter to count() must be an array)
  • Don't send the user to the account settings on login, send them to the index instead
  • Adds a user creation button to the group admin page
  • Fixes showing user activity depending on the current user's permission to view it
  • Allow site-admins to view roles & permissions
  • Allow site-admins to edit basic role details (name, slug & description)
  • Added 'hasRole' twig function to check if a user has a role (if a role doesn't exist, always returns false)
  • Added 'Auditer' role and split the activities permission away from site-admins (exclusive only) and everyone else
  • Made the input elements on the account settings page more in line with the other inputs (including the "hidden" and "disabled" mechanisms)
  • Update the "User" form to use the partial form elements for common styling with accounts page
Description
Removes the dashboard permission from 'users' role.
Readme 246 KiB
Languages
PHP 53%
Twig 41.4%
JavaScript 5.5%
CSS 0.1%