2017 © Pedro Peláez
 

library permissions

Simple permission checker for Nette Framework

image

ipub/permissions

Simple permission checker for Nette Framework

  • Monday, April 9, 2018
  • by akadlec
  • Repository
  • 2 Watchers
  • 11 Stars
  • 1,908 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 7 Versions
  • 3 % Grown

The README.md

Permissions

Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Latest Stable Version Composer Downloads License, (*1)

Simple permission checker for Nette Framework, (*2)

Installation

The best way to install ipub/permissions is using Composer:, (*3)

$ composer require ipub/permissions:@dev

After that you have to register extension in config.neon., (*4)

extensions:
    permission: IPub\Permissions\DI\PermissionsExtension

Package contains trait, which you will have to use in presenter to override default checkRequirements method. This works only for PHP 5.4+, for older version you can simply copy trait content and paste it into class where you want to use it., (*5)

<?php

class BasePresenter extends Nette\Application\UI\Presenter
{

    use IPub\Permissions\TPermission;

}

Documentation

Learn how to control access to your application in documentation., (*6)


Homepage https://www.ipublikuj.eu and repository http://github.com/iPublikuj/permissions., (*7)

The Versions

14/01 2015

v1.0.0

1.0.0.0 https://github.com/iPublikuj/permissions.git

Simple permission checker for Nette Framework

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

acl nette permission tools