private function getPostsPermissions()
    {
        return [
            [
                'name'        => 'Posts - List all posts',
                'description' => 'Allow to list all posts.',
                'slug'        => PostsPolicy::PERMISSION_LIST,
            ],
            [
                'name'        => 'Posts - View a post',
                'description' => 'Allow to display a post.',
                'slug'        => PostsPolicy::PERMISSION_SHOW,
            ],
            [
                'name'        => 'Posts - Create a post',
                'description' => 'Allow to create a post.',
                'slug'        => PostsPolicy::PERMISSION_CREATE,
            ],
            [
                'name'        => 'Posts - Update a post',
                'description' => 'Allow to update a post.',
                'slug'        => PostsPolicy::PERMISSION_UPDATE,
            ],
            [
                'name'        => 'Posts - Delete a post',
                'description' => 'Allow to delete a post.',
                'slug'        => PostsPolicy::PERMISSION_DELETE,
            ],
        ];
    }
private function getPostsPermissions()
    {
        return [
            [
                'name'        => 'Posts - List all posts',
                'description' => 'Allow to list all posts.',
                'slug'        => PostsPolicy::PERMISSION_LIST,
            ],
            [
                'name'        => 'Posts - View a post',
                'description' => 'Allow to display a post.',
                'slug'        => PostsPolicy::PERMISSION_SHOW,
            ],
            [
                'name'        => 'Posts - Create a post',
                'description' => 'Allow to create a post.',
                'slug'        => PostsPolicy::PERMISSION_CREATE,
            ],
            [
                'name'        => 'Posts - Update a post',
                'description' => 'Allow to update a post.',
                'slug'        => PostsPolicy::PERMISSION_UPDATE,
            ],
            [
                'name'        => 'Posts - Delete a post',
                'description' => 'Allow to delete a post.',
                'slug'        => PostsPolicy::PERMISSION_DELETE,
            ],
        ];
    }
private function getPostsPermissions ( ) { return [ [ 'name' => 'Posts - List all posts' , 'description' => 'Allow to list all posts.' , 'slug' => PostsPolicy :: PERMISSION_LIST , ] , [ 'name' => 'Posts - View a post' , 'description' => 'Allow to display a post.' , 'slug' => PostsPolicy :: PERMISSION_SHOW , ] , [ 'name' => 'Posts - Create a post' , 'description' => 'Allow to create a post.' , 'slug' => PostsPolicy :: PERMISSION_CREATE , ] , [ 'name' => 'Posts - Update a post' , 'description' => 'Allow to update a post.' , 'slug' => PostsPolicy :: PERMISSION_UPDATE , ] , [ 'name' => 'Posts - Delete a post' , 'description' => 'Allow to delete a post.' , 'slug' => PostsPolicy :: PERMISSION_DELETE , ] , ] ; }
Get the Posts permissions.

@return array
Get the Posts permissions .