Skip to content

remove the legacy access management method - #1101

Open
rBangay wants to merge 2 commits into
mainfrom
rb/remove-legacy-access-management
Open

rBangay wants to merge 2 commits into
mainfrom
rb/remove-legacy-access-management

Conversation

@rBangay

@rBangay rBangay commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

What does this change?

Removes the legacy SSM based user permissions. The primary method of getting permission in tool is using the permission app (https://permissions.gutools.co.uk/admin).

Note

This pr removes all the references to the SSM paramenters, but they will still need to be removed from AWS manually after the pr has been tested and deployed

@rBangay rBangay added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Nov 26, 2026
@rBangay rBangay self-assigned this Nov 26, 2026

@bendudiak-fry bendudiak-fry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. A couple of suggestions where more legacy code could be removed. If you were to make this changes, I'd suggest doing so in a stacked PR

# 1 - Editor,
# 2 - Drafter <<Removed: DO NOT USE>>
# 3 - Viewer,
USER_PERMISSIONS={"software.developer@guardian.co.uk": 0}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These permissions were based on the permission levels from the ParamPermssions. We should probably change this json so it supplies a full set of permissions for the user instead of a permission level:

e.g:

{"software.developer@guardian.co.uk": { edit_everything: true, edit_json: false}}

iss: string;
}>;

export enum UserAccessLevel {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now may be a good time to remove UserAccessLevel as well. It is a remnant of the ParamPermissions model.

@rBangay
rBangay added this pull request to stack #1105 November 27, 2026 12:48
@rBangay rBangay linked an issue Nov 27, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Legacy SSM Parameter Permissions store from newsletters tool

2 participants