feat: several owners per organization, and handing ownership over
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 9m19s
ci / test (pull_request) Successful in 9m25s
ci / build (pull_request) Successful in 15m40s
ci / image (pull_request) Successful in 4m26s
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 9m19s
ci / test (pull_request) Successful in 9m25s
ci / build (pull_request) Successful in 15m40s
ci / image (pull_request) Successful in 4m26s
An organization may now have several owners; the unique index allowing only one is gone. Owners make members owners or take it back, their own included, through PUT /api/v1/org/members/:user/owner; handing an organization over is making someone else owner and stepping down. The last owner cannot step down, and changes serialize on a per-organization lock so two owners stepping down at once cannot leave none. A former owner without roles keeps working as Admin. Owners still cannot be removed while they are owners. Deleting an account now takes along only the organizations it is the last owner of, counted under the same lock; it just leaves those with further owners. The members page offers "Make owner", "Remove as owner" and "Step down as owner" to owners. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
8d7c1f856c
commit
db3ff19983
23 files changed
+558
-115
No files matched your search
@@ -95,6 +95,7 @@
|
||||
"audit.action.maintenance.delete": "Maintenance deleted",
|
||||
"audit.action.maintenance.update": "Maintenance changed",
|
||||
"audit.action.member.join": "Joined the organization",
|
||||
"audit.action.member.owner": "Ownership changed",
|
||||
"audit.action.member.remove": "Member removed",
|
||||
"audit.action.member.role_assign": "Role assigned",
|
||||
"audit.action.member.role_unassign": "Role removed",
|
||||
@@ -576,6 +577,7 @@
|
||||
"error.invitation_email_mismatch": "This invitation was sent to a different email address than the one you are signed in with.",
|
||||
"error.invitation_invalid": "This invitation is invalid, expired or was already used.",
|
||||
"error.keyword_needs_get": "Keyword checks need GET requests.",
|
||||
"error.last_owner": "The organization needs at least one owner. Make someone else owner first.",
|
||||
"error.last_sign_in": "This is the account's only way to sign in. Set a password or connect another provider first.",
|
||||
"error.locked": "The resource is locked by another process.",
|
||||
"error.maintenance_overlaps": "The maintenance would last longer than the time until it repeats.",
|
||||
@@ -588,8 +590,9 @@
|
||||
"error.org_limit": "Your account may own at most {{.Max}} organizations.",
|
||||
"error.org_not_found": "Organization not found.",
|
||||
"error.org_suspended": "The operator suspended this organization.",
|
||||
"error.owner_cannot_be_removed": "The owner cannot be removed.",
|
||||
"error.owner_cannot_be_removed": "Owners cannot be removed. Take their ownership away first.",
|
||||
"error.owner_has_all_permissions": "The owner already has every permission.",
|
||||
"error.owner_only": "Only owners can change who owns the organization.",
|
||||
"error.password_too_short": "The password needs at least {{.Min}} characters.",
|
||||
"error.permission_escalation": "You cannot grant permissions you do not hold yourself.",
|
||||
"error.platform_region_limit": "A monitor may be checked from at most {{.Max}} platform regions; your own checker regions do not count.",
|
||||
@@ -768,11 +771,11 @@
|
||||
"gdpr.account_export_intro": "Download everything stored about you: profile, memberships, sign-in identities, API tokens and your activity. JSON is machine-readable, PDF easy to read.",
|
||||
"gdpr.delete_account": "Delete account",
|
||||
"gdpr.delete_account_confirm": "Delete your account permanently? This cannot be undone.",
|
||||
"gdpr.delete_account_intro": "Deletes your account immediately and signs you out everywhere. Organizations you own are deleted with it, with everything in them, also for their other members; the others you just leave. Audit entries in other organizations remain, showing \"deleted user\".",
|
||||
"gdpr.delete_account_intro": "Deletes your account immediately and signs you out everywhere. Organizations you are the last owner of are deleted with it, with everything in them, also for their other members; organizations with further owners you just leave. To keep an organization, make someone else owner first. Audit entries in other organizations remain, showing \"deleted user\".",
|
||||
"gdpr.delete_org": "Delete organization",
|
||||
"gdpr.delete_org_confirm": "Delete this organization and all its data permanently?",
|
||||
"gdpr.delete_org_intro": "Deletes the organization with all monitors, check results, status pages, members' access and API tokens, immediately and permanently. Members' accounts remain.",
|
||||
"gdpr.deletes_orgs": "You own these organizations. They are deleted with your account, with all their monitors and status pages, also for their other members:",
|
||||
"gdpr.deletes_orgs": "You are the last owner of these organizations. They are deleted with your account, with all their monitors and status pages, also for their other members, unless you make someone else owner first:",
|
||||
"gdpr.org_data": "Organization data",
|
||||
"gdpr.org_export_intro": "Download members, roles, monitors, groups, channels, status pages, SSO settings, incidents, the audit log and daily statistics. Secrets are not included.",
|
||||
"gdpr.password": "Your password",
|
||||
@@ -899,19 +902,25 @@
|
||||
"md.ul": "Bulleted list",
|
||||
"md.write": "Write",
|
||||
"members.assign": "Add role",
|
||||
"members.intro": "Roles decide what each member may do. Nobody can grant permissions they do not hold themselves.",
|
||||
"members.intro": "Roles decide what each member may do. Nobody can grant permissions they do not hold themselves. Owners may do everything; an organization can have several and always keeps at least one.",
|
||||
"members.invite": "Invite",
|
||||
"members.invite_link": "Send this link to the invitee. It is valid for 7 days and works once.",
|
||||
"members.invite_submit": "Create invitation",
|
||||
"members.make_owner": "Make owner",
|
||||
"members.make_owner_confirm": "Make {{.Email}} an owner? Owners can do everything, including deleting the organization and deciding who else is owner.",
|
||||
"members.owner": "Owner",
|
||||
"members.pending": "Pending invitations",
|
||||
"members.remove": "Remove from organization",
|
||||
"members.remove_confirm": "Remove this member? Their sessions and API tokens end immediately.",
|
||||
"members.remove_owner": "Remove as owner",
|
||||
"members.remove_owner_confirm": "Take ownership away from {{.Email}}? Without other roles they keep working as Admin.",
|
||||
"members.revoke": "Revoke",
|
||||
"members.role": "Role",
|
||||
"members.roles": "Roles",
|
||||
"members.scope": "Limited to",
|
||||
"members.scope_org": "whole organization",
|
||||
"members.step_down": "Step down as owner",
|
||||
"members.step_down_confirm": "Step down as owner? You keep working with the Admin role unless you have other roles.",
|
||||
"members.title": "Members",
|
||||
"members.unassign": "Remove role",
|
||||
"moderation.actions": "Suspend or delete …",
|
||||
|
||||
Reference in new issue
Block a user