Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Convert SecurityAdmin to be a ModelAdmin #1359

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Sep 6, 2022

Issue #1350

Continued from where Max got to with #963 - I've included him as a co-author in the commit message

@emteknetnz emteknetnz force-pushed the pulls/2/security-admin-ii branch 3 times, most recently from 1025700 to 40f1124 Compare September 7, 2022 01:03
@emteknetnz emteknetnz marked this pull request as ready for review September 7, 2022 01:03
@emteknetnz
Copy link
Member Author

Unit tests failing because symfony 6 PRs need to be merged. Re-run tests after that

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

It feels a bit suspect that there's no javascript or css being removed - is there really no double-up of javascript or css for the old SecurityAdmin that is now handled by existing ModelAdmin javascript? E.g. inside client/src/legacy/SecurityAdmin.js or client/src/styles/legacy/_SecurityAdmin.scss?

code/SecurityAdmin.php Show resolved Hide resolved
code/SecurityAdmin.php Outdated Show resolved Hide resolved
code/SecurityAdmin.php Outdated Show resolved Hide resolved
code/SecurityAdmin.php Outdated Show resolved Hide resolved
code/SecurityAdmin.php Outdated Show resolved Hide resolved
code/MemberImportController.php Outdated Show resolved Hide resolved
@emteknetnz emteknetnz force-pushed the pulls/2/security-admin-ii branch 4 times, most recently from b79bdea to b669289 Compare September 15, 2022 04:31
code/SecurityAdmin.php Outdated Show resolved Hide resolved
client/src/legacy/MemberImportForm.js Outdated Show resolved Hide resolved
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Works great locally and the code makes sense, happy to merge.

@GuySartorelli GuySartorelli merged commit 75b5def into silverstripe:2 Sep 19, 2022
@GuySartorelli GuySartorelli deleted the pulls/2/security-admin-ii branch September 19, 2022 02:20
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.

2 participants