Skip to content
/ vines Public

An efficient access control library supporting fine grained controls.

License

Notifications You must be signed in to change notification settings

nazan/vines

Repository files navigation

Vines

What It Does - Overview

In short, this program keeps track of who is permitted to perform what actions on which resources. Of course, whatever resources, actors or actions in your particular problem domain must be input into Vines before it can do its magic. Resources are stored in Vines as a hierarchy.

Run The Unit Tests

Clone this repo.

> git clone [email protected]:surfingcrab/vines.git
> cd vines
> composer install

Create database and generate the schema by importing the 'vines_schema.sql' file under 'config' directory. Use a database administration tool like PhpMyAdmin to do this.

Once database created then make a copy of 'settings.example.ini' and rename it to 'settings.ini' in the same path. Change the parameters within 'settings.ini' so that it matches with the connection details to the database that was created in the previous step.

Make sure PHPUnit is setup properly in your development environment and run the following command. Install PHPUnit

> phpunit -c tests/configuration.xml tests

About

An efficient access control library supporting fine grained controls.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages