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

Make security admin more easily extensible #1547

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

lekoala
Copy link
Contributor

@lekoala lekoala commented Aug 14, 2023

  • fix error if import button is missing
  • fix unhandled match case if model class is not member or group

ran into this issue while trying to add a couple of tabs to the security admin

- fix error if import button is missing
- fix unhandled match case if model class is not member or group
};
$importButton->setModalTitle($modalTitle);
if ($importButton) {
$modalTitle = match ($this->modelClass) {
Copy link
Contributor

Choose a reason for hiding this comment

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

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.

Looks fine to me. Thanks for this.

@GuySartorelli GuySartorelli merged commit 44fe804 into silverstripe:2.0 Aug 14, 2023
@GuySartorelli
Copy link
Member

This will be automatically tagged once CI finishes running on the branch.

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.

3 participants