Weaver icon indicating copy to clipboard operation
Weaver copied to clipboard

Implement a per domain access level feature

Open trupin opened this issue 5 years ago • 0 comments

Access levels could be imagined this way.

A domain is a group of dependencies and dependents. As soon as a dependency is in the same domain as a dependent, access is granted, otherwise it is denied.

A dependency registration could be added to a domain like so:

// weaver: foo.domains = "everything", "nothing"

An injectable type could be added to a domain like so:

// weaver: self.domains = "everything", "nothing"

trupin avatar Jun 08 '20 18:06 trupin