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

Public interfaces #1479

Open
stefjoosten opened this issue May 1, 2024 · 0 comments
Open

Public interfaces #1479

stefjoosten opened this issue May 1, 2024 · 0 comments

Comments

@stefjoosten
Copy link
Contributor

stefjoosten commented May 1, 2024

An INTERFACE that has no ROLE is available at runtime without ROLE-restrictions.
Currently, the PrototypeContext contains a relation isPublic, which must be true iff the interface has no roles. It uses the ExecEngine to fill the interface roles with all roles for all public interfaces.

The problem is that the compiler should do this. It should link every public interface to all roles. This should be changed in the compiler. Besides, this should be changed in FormalAmpersand as well, to ensure that the Atlas has the same behavior.

Describe alternatives you've considered
The alternative is that the prototype does this at runtime. However, the role allocation should not change at runtime. Therefore we opt to do this in the initialization that the compiler performs.

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

No branches or pull requests

1 participant