Releases: waadmawlood/laravel-generate-repository-api
Releases · waadmawlood/laravel-generate-repository-api
v1.8.1
v1.8.0
v1.7.0
Added
- added
hasAllRolePermissions
to check all roles and permissions operator (and)
public function create(User $user)
{
return $user->hasAnyRolePermissions(['Admin', 'category_create'], ['api']); // "Admin" Or "category_create"
}
// **************************************************************
public function create(User $user)
{
return $user->hasAllRolePermissions(['Admin', 'category_create'], ['api']); // "Admin" And "category_create"
}
v1.6.1
v1.6.0
Added
- Added Index Request for index controller extend from Pagination or Unlimit Request.
Fixed
- Fix duplicated migration when repeating the same repo command, allow just force or not exist.
- Check that the Permission model exists.
- Remove unnecessary types of params and return them in BaseRepository, Interfaces, and Controllers.
- Remove Show Permission and replace it with a
list
.
Commit (5495c11)
تحياتي