Skip to content

Jish2/topaz-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

topaz issue repro

repro steps

start topaz container, there is another service that will load manifest/seed objects and relations

docker-compose up

run test curl

sh test.sh

output:

{
  "check":  false,
  "trace":  [],
  "context":  {
    "reason":  "E20025 object not found: subject user:anonymous"
  }
}

expected behavior

The response should be true because the user type has a * relation to the document document_1.

suspected issue

https://github.com/aserto-dev/go-edge-ds/blob/main/pkg/ds/check.go#L49

validating that all subjects checked must have a relation existing relation row. but in this case, we have a relation for *, so this check will fail.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors