Skip to content

0.33.0

Compare
Choose a tag to compare
@rootpd rootpd released this 23 Aug 12:23
· 386 commits to master since this release
  • BREAKING: Added signal method prefix handle into GenerateAccessCommand (user:generate_access) to generate ACL resources for presenter's signals within administration (presenters extending AdminPresenter). All signals are automatically allowed for all admin groups (to keep access for all admin users as before signals were introduced). This is one time seed. Please check & update admin group rights in administration (http://crm.press/users/admin-group-admin/). remp/crm#1661
  • BREAKING: Renamed SsoRedirectValidator to SignInRedirectValidator. remp/crm#1941
  • Changed SsoUserManager::getUser() method signature. remp/crm#1957
    • Added optional parameter registrationChannel to the end of parameter list. Change is backwards compatible.
  • Added initial Apple Sign-In support using ID token and Authorization code flow. remp/crm#1924
  • Merged Users:changePassword, Users:requestPassword and Users:settings pages together to Users:settings page. Users:settings is now available for all users, content of the page depends on whether user is logged in or not. remp/crm#1818
  • Changed Users:changePassword and Users:requestPassword pages to deprecated and will be removed in the future. Requests are redirected to ``Users:settings`. remp/crm#1818
  • Added level into admin_access table to indicate access level of resource (read / write). Annotation @admin-access-level above resource method is used for setting level. They are loaded and stored into DB by UsersModule's GenerateAccessCommand (user:generate_access). remp/crm#1661
  • Added type into admin_access table to indicate type of resource (render / action / handle). These types are loaded from method prefix and stored into DB by UsersModule's GenerateAccessCommand (user:generate_access). remp/crm#1661
  • Changed (improved) UI for setting resource access (granting permissions) to admin groups. Added access types and levels and global/per module toggles (eg. read only). remp/crm#1661
  • Added the management of linked accounts into user's settings page. remp/crm#1922
  • Added option --cleanup to GenerateAccessCommand (user:generate_access) command. When command is launched with this option, orphaned ACL resources and actions are removed. Can be used to remove remains after CRM module is uninstalled or presenter/method is (re)moved. remp/crm#1777
    • WARNING: This option doesn't fix ACL after resource is moved. That should be handled by module when resource is moved / renamed (eg. by migration).
  • Changed users.note column from VARCHAR(255) to TEXT. More space is sometimes needed (eg. notes about company accounts). remp/crm#1953
    • Set note input field to nullable (stores NULL instead of empty string).
  • Added option to set query parameter n_source when using Apple or Google Sign In to store user registration source. remp/crm#1957
  • Added registration_channel column to users table. remp/crm#1957
    • This column refers to channel through which user was registered. Default value is crm. It's primarily designed to determine origin of the registration data and consent (e.g. Google sign in, Apple sign in).