Vines, Access system built with PHP and MySQL

1.0.10 2022-04-03 06:43 UTC

This package is auto-updated.

Last update: 2024-04-30 00:28:18 UTC


README

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 git@bitbucket.org: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