2017 © Pedro Peláez
 

library acl

Concord Module for Permission handling (Laravel 5.4+)

image

konekt/acl

Concord Module for Permission handling (Laravel 5.4+)

  • Sunday, February 18, 2018
  • by konekt
  • Repository
  • 4 Watchers
  • 2 Stars
  • 1,151 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 35 % Grown

The README.md

Concord (Laravel) Module For Handling Permissions And Roles

Tests Packagist version Packagist downloads StyleCI MIT Software License, (*1)

This package allows you to manage user permissions and roles in a database., (*2)

Intro

Once installed you can do stuff like this:, (*3)

// Adding permissions to a user
$user->givePermissionTo('edit articles');

// Adding permissions via a role
$user->assignRole('writer');

$role->givePermissionTo('edit articles');

Because all permissions will be registered on Laravel's gate, you can test if a user has a permission with Laravel's default can function:, (*4)

$user->can('edit articles');

Package Origins

  • This package is a fork of Spatie's Permission v2.1.5.
  • Reason for the fork was to convert the package into a Concord compliant module.
  • As of v1.0: most of the changes have been ported from Spatie v2.9.0
  • Beginning with v2.0, this package no longer maintains compatibility and feature parity with the Spatie Permission package.
  • The most important feature of v2 is the possibility of Sharing Eloquent models across users.

Documentation

https://konekt.dev/acl/master/README, (*5)

Changelog

Please see Changelog for more information what has changed recently., (*6)

Credits

This package is a modified variant of Spatie Permission package which is heavily based on Jeffrey Way's awesome Laracasts lessons on permissions and roles. His original code can be found in this repo on GitHub., (*7)

Alternatives

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

18/02 2018

dev-master

9999999-dev https://github.com/artkonekt/acl

Concord Module for Permission handling (Laravel 5.4+)

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel acl security permission spatie concord konekt

18/02 2018

1.0.0

1.0.0.0 https://github.com/artkonekt/acl

Concord Module for Permission handling (Laravel 5.4+)

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel acl security permission spatie concord konekt

11/12 2017