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

Add recipes for eonx-com packages #912

Closed
wants to merge 2 commits into from
Closed

Conversation

natepage
Copy link

Q A
License MIT

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request does not pass validation.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request passes validation.

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

Thank you. Just a few questions


namespace App\Security\Interfaces;

interface RolesInterface
Copy link
Member

Choose a reason for hiding this comment

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

Should these empty interfaces really be in the application? Don't they belong to your package?

Copy link
Author

Choose a reason for hiding this comment

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

@Nyholm Thank you for looking at the PR. The interfaces for roles and permissions are a "convention" we started to use to centralise the definition of roles/permissions in the application and also to allow these roles/permissions to be reused in the code in a consistent way.

The application doesn't have to use it but we recommend doing it this way, that's why we include these empty interfaces as part of the recipe.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for being late to the party, but if you don't force to use this interface, which is fine, it should belong to the code repository and not the recipe

Copy link
Author

Choose a reason for hiding this comment

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

@OskarStark it's only been a few years it's ok 😄 Thank you for taking the time to look at it. I actually completely forgot about this PR so your comment reminded me of it, that's good.

We can actually close it, because since then we have migrated all our projects to using PHP for the application config, so these recipes are now irrelevant.

But once again, thanks for looking into it and bringing that back to my attention!

@OskarStark OskarStark closed this Aug 31, 2023
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