Componette

Componette

krausv

krausv / permissions-panel 1.1

simple bar panel for Tracy

download-cloud-line composer require krausv/permissions-panel

permissions-panel

permission-panel is simple bar panel for Tracy. Permission-panel containt list of roles and resources of Nette\Security\Permission

Tracy panel screenshot

Installation

$ composer require krausv/permissions-panel

Register permissions-panel in config.neon

extensions:
  permissions-panel: Krausv\PermissionsPanel\Nette\DI\PermissionsPanelExtension(%debugMode%)

and register Nette\Security\Permission

services:
	authorizator:
	    class: Nette\Security\Permission
	    setup:
	        - addRole('guest')
	        - addRole('admin')
	        - addResource('Users')
	        - addResource('Article')
	        - allow('admin', 'Article', 'view')
	        - allow('guest', 'Users', 'view')
	        - allow('guest', 'Users', 'delete')
bar-chart-fill

Statistics

download-cloud-fill
8
star-fill
0
bug-fill
0
flashlight-fill
5.4y
price-tag-2-line

Badges

guide-fill

Dependencies

php (>=5.4.0)
tracy/tracy (^2.3.0)
Componette Componette felix@nette.org