You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticing that src/Actions/UpdateTeamMemberRole.php and src/Actions/ValidateTeamDeletion.php are not publishable stubs, meaning, we are not able to change the Gate check to validate those actions if folks opt to make changes to the roles in JetstreamServiceProvider.php
If the desire is not to make those Actions publishable, would it be considered to move those checks to TeamPolicy.php where all the other validation for Jetstream occurs?
Given the desire to keep Jetstream/teams as lean as possible (which is totally understandable) having some more control over what comes out-of-the-box would be very much appreciated (e.g the ability to publish more of the boilerplate)
Thank you very much.
The text was updated successfully, but these errors were encountered:
It might be best to describe what's missing from Gate::forUser($user)->authorize('updateTeamMember', $team); and Gate::forUser($user)->authorize('delete', $team);
Greetings,
Noticing that
src/Actions/UpdateTeamMemberRole.php
andsrc/Actions/ValidateTeamDeletion.php
are not publishable stubs, meaning, we are not able to change the Gate check to validate those actions if folks opt to make changes to the roles inJetstreamServiceProvider.php
If the desire is not to make those Actions publishable, would it be considered to move those checks to
TeamPolicy.php
where all the other validation for Jetstream occurs?Given the desire to keep Jetstream/teams as lean as possible (which is totally understandable) having some more control over what comes out-of-the-box would be very much appreciated (e.g the ability to publish more of the boilerplate)
Thank you very much.
The text was updated successfully, but these errors were encountered: