Skip to content

aserto-bot/mycars

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mycars

MyCars demo

default

default allow = false

mycars.get.rego

allow {
    input.method == "GET"
    input.user == "[email protected]"
}

mycars.car.get.rego

allow {
    i = data.data.identities[input.user]
    u = data.data.users[i]
    u.attr.enabled == "True"
    u.attr.department == "Sales Engagement Management"
}

About

MyCars demo

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Open Policy Agent 57.7%
  • Makefile 27.9%
  • Shell 14.4%