google / google/CodeCity

Implement permissions checks in Interpreter

Open
#365 1 comment 0 reactions 1 assignee Claimed by @cpcallen View on GitHub
enhancement server
Dominant language
JavaScript
Stars
198
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Tracking bug for implement permissions checks in the server `Interpreter`.

Prerequisites:

* [ ] Finalise Permissions Model #392.
* [ ] Rewrite core classes to use WeakMaps #404.

To Do:

* [ ] Implement `controls()` or similar.
* [ ] Implement object mutability limits (only mutable by controllers(s)).
* [ ] Implement normal property writability limits (only writable by controller(s)).

Later:

* [ ] Implement object readability attribute? (Needed to protect `$.userDatabase` keys.)
* [ ] Implement property `readable` attribute or similar?
* [ ] Implement property `heritable` attribute or similar.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.