Skip to content

warrant-dev/templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warrant Templates

Templates for common authorization & access control use cases.

Clone, apply & deploy to prod directly within your Warrant environment.

Available Templates

  • Devtool - ability to define tenants, teams within each tenant, applications owned by teams
  • Document store - ability to define folder and document hierarchies, edit/read-only access to specific documents
  • Enterprise access control - ability to define organizations, teams, users, role based access, access to applications
  • Infrastructure access control - ability to define teams and developers, access to services by team

Getting started

  1. Create a Warrant account if you don't already have one.

  2. Once logged in, create a new environment for testing.

  3. Make sure you have the Warrant CLI installed and set up on your machine. Configure it with the environment created above.

  4. Clone this repository and pick a template to use:

cd devtool/
  1. Apply object types schema for the chosen template using the Warrant CLI:
warrant objecttype apply -f object-types.json
  1. Run scenario test cases using the Warrant CLI:
./test.sh
  1. Tweak your model as needed. Once it's ready, integrate Warrant into your application using the SDKs.

  2. Deploy to your prod environment!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages