Repository navigation
ShipKit 2.0.0
Requires shipwithian/shipkit-core 2.0.
- Assign roles to users: a paginated Users page, gated by the new
assign rolessystem permission, sets the roles each user holds.SyncUserRolesActionrefuses to add or remove a role holding a permission the actor lacks, so nobody can grant themselvessuper-adminor strip it from someone with more access, and the last super admin still cannot lose the role.
shipwithian/shipkit-core 2.0.0
A major release because a new system permission makes a 1.0 project's seeder test fail. UPGRADE.md has the fix.
- Access Control records:
SystemPermission::AssignRoles(assign roles), the permission to put roles on users, reserved because nobody could otherwise change who holds which role. The bootstrap creates it protected and gives it tosuper-admin; existing projects runphp artisan db:seed --class=AccessControlSeederagain.
Upgrading
Existing projects update the package with composer require shipwithian/shipkit-core:^2.0 and follow the 2.0 upgrade notes. Template changes are not applied to existing projects: compare the release tags and copy what you want.