Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions lost when scope is used in non-linear pattern #78

Open
AZWN opened this issue Oct 20, 2021 · 0 comments
Open

Permissions lost when scope is used in non-linear pattern #78

AZWN opened this issue Oct 20, 2021 · 0 comments

Comments

@AZWN
Copy link
Contributor

AZWN commented Oct 20, 2021

Bug description
Scope permissions are lost when a scope is used in a non-linear pattern.

Steps to reproduce the behavior

Open the following test:

resolve {s1 s2}
  new s1,
  prgmOk(s1) == s2

signature
  relations
    rel:

rules

  prgmOk: scope -> scope
  prgmOk(s) = s :-
    !rel[] in s.

Observed behavior
There is an permission error on prgmOk(s1) == s2.

Expected behavior
No error, because s1 is owned.

Additional context

Perhaps introduced by e67871d

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

No branches or pull requests

1 participant