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

Implement permissions checks in Interpreter #365

Open
8 tasks
cpcallen opened this issue May 7, 2020 · 1 comment
Open
8 tasks

Implement permissions checks in Interpreter #365

cpcallen opened this issue May 7, 2020 · 1 comment
Assignees
Labels
enhancement Feature requests, major new features, etc. server Things related to the codecity server proper
Milestone

Comments

@cpcallen
Copy link
Collaborator

cpcallen commented May 7, 2020

Tracking bug for implement permissions checks in the server Interpreter.

Prerequisites:

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.
@cpcallen cpcallen added enhancement Feature requests, major new features, etc. server Things related to the codecity server proper labels May 7, 2020
@cpcallen cpcallen added this to the Launch milestone May 7, 2020
@cpcallen cpcallen self-assigned this May 7, 2020
@cpcallen
Copy link
Collaborator Author

cpcallen commented May 7, 2020

We could just hide all the sensitive information in $.userDatabase inside a closure. We'd need to have a way (for sufficiently authorised users) to extract the information manually so it could restored after a dump/reload, but that would obviate the immediate need for non-readable objects, AFAICT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests, major new features, etc. server Things related to the codecity server proper
Projects
None yet
Development

No branches or pull requests

1 participant