Skip to content

Conversation

@jpwhite4
Copy link
Member

@jpwhite4 jpwhite4 commented Feb 6, 2025

Description

This adds the ability to initialize SSO user accounts with the role permissions. Previously in XDMoD
the only way to 'create' an SSO account is to have the user login and then once they have logged in
then their permissions can be set in the admin dashboard.

I also fixed a couple of linter errors in the xdmod-admin code (so that running the xdmod-admin command would no longer generate php warnings). The command line syntax follows
the existing style of an 'action' and 'command' (if I was starting from scratch I would probably not bother having the separate flags, but I'm not).

Motivation and Context

Needed the ability to pre-load users with the correct permissions so when they first log in to XDMoD they see the correct stuff.

Tests performed

The base code in this pull request was used in a standalone script run on NAIRR XDMoD to setup all of the RP accounts. I also added a post-install test to run the command to add a user and then check the correct rows appear in the database.

@jpwhite4 jpwhite4 added this to the 11.5.0 milestone Feb 6, 2025
@jpwhite4 jpwhite4 changed the title Add extra options to xdmod-admin command Add loading SSO user accountds to the xdmod-admin command Nov 17, 2025
@jpwhite4 jpwhite4 marked this pull request as ready for review November 17, 2025 23:01
@jpwhite4 jpwhite4 changed the title Add loading SSO user accountds to the xdmod-admin command Add loading SSO user accounts to the xdmod-admin command Nov 17, 2025
@jpwhite4 jpwhite4 requested a review from aaronweeden November 17, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant