feat: link and unlink an administrator's frontend account on the Administrators screen
- golem15.users.manage_backend_links (no default role), en and pl labels - record actions on summercms.cabana.users: link_frontend_account asks for the frontend user's email (exact, case-insensitive, active users only), records linked_by and fires the link events; unlink_frontend_account (danger) removes the link - a taken or unknown account answers 422 on the prompt
This commit is contained in:
@@ -15,6 +15,11 @@ import (
|
||||
// good.
|
||||
const PermissionManagePrivilegedGroups = "golem15.users.manage_privileged_groups"
|
||||
|
||||
// PermissionManageBackendLinks is the backend permission an administrator
|
||||
// needs to link a frontend account to another administrator, or to unlink
|
||||
// one, on the Administrators screen. No role has it by default.
|
||||
const PermissionManageBackendLinks = "golem15.users.manage_backend_links"
|
||||
|
||||
// privilegedGroupsKey is the config list of privileged group codes.
|
||||
const privilegedGroupsKey = "golem15.user.privileged_groups"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user