Code Monkey home page Code Monkey logo

hapi's Introduction

Project Hapi

H​ierarchical Access Policy Implementation

This project aims to implement a domain specific language to define access policies. Considering actors (A) and resources (R), we want to be able to ensure:

  • Totality: either A accesses R or it does not
  • Uniqueness: R cannot be both accessible and forbidden to A

By hierarchical, we mean that policies specified for an actor can be projected into another actor, and extended in this new setting.

Usage

Suppose you have a Hapi project under the folder <project_dir> and then you want to run the file <project_dir>/<file>.hp:

  • With Docker
docker build -t hapi_image .
docker run -v <project_dir>:/data --rm hapi_image "/data/<file>.hp"
  • Without Docker
gradle run --args="<project_dir>/<file>.hp"

In both ways the YAML translation will be generated at <project_dir>/<file>.yaml.

Examples

@TODO

License

This project is licensed under the GPLv3 license.

hapi's People

Contributors

flavluc avatar vrjuliao avatar yowgf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.