Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Policy Statement Condition #41

Description

@gearnode

Goal

Define the API to write condition in statement

Proposal

Like AWS IAM (JSON syntax)

  • less security issue
  • should create many condition to apply
  • should create a JSON DSL or something like that
  • should write documentation
  • performance +++
  • not easy to extend
  • user can't introduce slow condition

Lua Scripting

  • should create a VM sandbox to avoid security issue
  • easy to extend judge with lua scripting
  • performance --
  • manage Lua VM pool to avoid performance issue
  • compile to ensure proper syntax
  • less documentation to write
  • know solution like Redis, NGINX, etc.
  • user can introduce slow condition

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions