Skip to content

Releases: pktharindu/nova-permissions

Fix display of permission groups

05 Oct 17:57
6eb25e0
Compare
Choose a tag to compare

Merged PR #23 from contributor @dmason30.

Make role resource group translatable

19 Aug 10:26
897ec2d
Compare
Choose a tag to compare
v2.1.4

Make Role resource group translatable

Role Resourse extend "App\Nova\Resource" instead of "Laravel\Nova\Resource"

27 Mar 04:17
a6e30e7
Compare
Choose a tag to compare

Fix config table names

27 Feb 17:51
a4d2ab7
Compare
Choose a tag to compare

Enable translations by default

11 Feb 13:50
28aebbc
Compare
Choose a tag to compare

made the group, display name, and description properties translatable.

Style changes

12 Dec 15:29
Compare
Choose a tag to compare
v2.1.0

fix styles

Major bug fix

12 Dec 15:02
c9c7554
Compare
Choose a tag to compare

Fixed the Role model which was replaced by AuthServiceProvider

Added the ability to configure table names

30 Nov 03:16
Compare
Choose a tag to compare

Database table names now can be configured using the config file.

// in config/nova-permissions.php

<?php

return [

    // ...

    /*
    |--------------------------------------------------------------------------
    | Database table names
    |--------------------------------------------------------------------------
    | When using the "HasRoles" trait from this package, we need to know which
    | table should be used to retrieve your roles. We have chosen a basic
    | default value but you may easily change it to any table you like.
    */

    'table_names' => [
        'roles' => 'roles',

        'role_permission' => 'role_permission',

        'role_user' => 'role_user',
    ],

    // ...
];

Update packages and fix slug issue

06 Sep 04:37
1b096ce
Compare
Choose a tag to compare
Merge pull request #3 from tharindu-abans/master

Update slug field

Added the ability to add custom role resource

19 Apr 05:21
Compare
Choose a tag to compare

If you want to use your own role resource, you can define it when you register the tool:

// in app/Providers/NovaServiceProvider.php

// ...

use App\Nova\Role;

public function tools()
{
    return [
        // ...
        \Pktharindu\NovaPermissions\NovaPermissions::make()
            ->roleResource(Role::class),
    ];
}

Then extend the Pktharindu\NovaPermissions\Nova\Role in your role resource:

// in app/Nova/Role.php

use Pktharindu\NovaPermissions\Nova\Role as RoleResource;

class Role extends RoleResource
{
    // ...  
}