- caching of custom actions.
- loading of role creation and edit pages.
- creation of SuperAdmin permission records.
- Laravel 7 compatibility.
- governor users to not be searchable in Nova.
- belongsto relationship on assigments.
- disabling of governor resources in Nova global search results.
- Roles seeder.
- superadmin and admin user seeders.
- importing of default admin users from .env file.
- minor performance optimizations.
- Nova resource relationship fields.
- Nova navigation menu.
- remnant occurrences of removed dependencies.
- non-Nova views. An updated version of these will be added down the line. For the time being, this package will work with Nova only.
- rendering of groups in Nova.
- rendering of user assignments in Nova.
- errors in Nova API controllers.
- unique key length when running in MySQL.
- typo in data type.
- database migration foreign key data type.
keyType
property on models with string primary keys.- typo in controller.
- Laravel 6.0 compatibility.
- guest user role assignment.
- guest user functionality.
- caching to improve performance and reduce number of database queries.
- parsing of superadmin JSON in superadmin seeder.
- automatic configuration of single superadmin user to multiple superadmin users.
- resource link for Teams.
- Nova resource class names to avoid conflicts with app's registered resources.
- creation of new member.
- listeners to not check database for governor tables to improve performance.
- automatic redirect to parent detail view in Nova after creating or updating a Resource.
- navigation menu icon to no longer require FontAwesome to be installed.
- updating of
ownedBy
relationship to also happen onsaving
event, to catch systems that don't trigger thecreating
event, like Nova.
- seeding of superadmin user password is now hashed with bcrypt.
- remnant log debug output.
- some failing tests (which also fixed a bug).
- details for optional creation of superuser to config file.
- migration order.
- automatic creation of
governor_owned_by
field.
- governor_role_user pivot table to use primary key instead of composite key, as Laravel does not fully support composite keys.
- migrations that performed updates on tables, in favor of upgrade seeders.
- upgrade seeders to make the upgrade process a bit easier, as well as to keep the migration files clean for testing.
- resolution of user-teams in permission checks.
- resolution of entity names in permission checks.
- resolution of teams in permission checks.
- when permission group headings were displayed.
- access to team permissions by SuperAdmins.
- determination of effective permissions of team owner used in team permissions.
- available permission options of viewAny permissions to only no and any.
- Permission groups will now only show if there are more than one set up.
- Entities are now named to indicate if they are part of a package.
- Updated tests to complete successfully according to the updated functionality.
- how index in migration is dropped.
- Nova menu item Vue component registration.
- migration to drop index only if it exists.
- team management functionality.
- team permissions functionality.
- attaching new registrant to Member role.
- caching of Permissions.
- caching of existence of governor_owned_by field existing in a given table.
- creation of governor_owned_by field in tables of governed models, if missing.
- auth model primary key data type for creating the governor_owned_by fields.
- filtering of auth model records for "own" permissions.
- Nova navigation menu items to only display if the user has the appropriate permissions.
- caching to database checks to run only once every 5 minutes per table, instead of every query.
- upgrade instructions to README.
- query scopes for governed models.
ownedBy
BelongsTo relationship to governed models.
governor_created_by
field togovernor_owned_by
.- config file details in README to match current config file.
- model listeners to run more optimised and return early where possible.
- Role policy to run parent code, instead of replicating code from base policy.
- entity detection in service provider to be more robust and account for custom overriding of governor models.
- traits
Governable
toGoverning
andGoverned
toGovernable
.
- autoloading of migrations, so that it won't conflict with other packages that might need migrations to be run a special way.
- functionality to allow filtering of queries, via direct methods or scopes, based on permissions.
- API endpoint to check if a user has a role to support previous version.
- model method
->is($role)
to check if a user belongs to a method.
- method
->isSuperAdmin
user attribute in favor of using->is("SuperAdmin")
.
- api authentication, removed
api
middleware group.
- authorization api functionality.
- changelog and readme.
- various controller and view related items (work in progress).
- policy check in Roles controller.
- service provider class reference in console command.
- permission seeder to respect existing records.
- an edge-case where non-model items were being listened to in listeners.
- service provider class name.
- Laravel 5.6 compatibility.
- entity management to automatically derive from registered policies.
- role controller authorization.
- README with more detailed instructions on initial setup on an empty database.
- CreatedListener to detect edge-cases where database may not be migrated fully.
- to work with Laravel 5.5.
- Laravel 5.4 compatibility.
- automatic policy detection, making Entity seeding unnecessary.
- automatic adding of
created_by
column in tables, regardless of models. - PHPCI integration.
- initial set of tests, with more to come.
- config file documentation.
- role editing form.
- views to use the projects master layout file and be easier to publish.
- config settings to be more appropriate.
- controllers and models with PHP7 stuff and general clean up.
- routes to use dedicated folder.
- traits to use dedicated folder.
- policies to be much more concise, no methods needed.
- config variables to be more consistent.
- updated README documentation.
$incrementing = false;
to classes usingname
as primary key.- use statements in migrations.
- added routes to
web
route group. - creation of
$user
using helper methodsapp()
andconfig()
.
- reference to User model primary key to not use
$user->id
, but instead$user->getKey()
.
- installation instructions to make sure a User exists in the system.
- installation instructions for adding Entities.
- views to better resemble Spark Settings components, so they can be integrated into Spark.
- entities view, as it wasn't conducive to a good workflow.
- requirement to manually add
Collective\Html
package.
- "laravelcollective/html" as a package dependency.
- moved documentation to https://governor.forlaravel.com.
- Commit initial code, derived from the Bones-Keeper package.