Policies #12

Closed
opened 2019-12-10 23:23:45 +00:00 by cadey · 0 comments
Owner
// gitea.policy

allow (
  https://tulpa.dev
  ipfs://
  random://
)

disallow (
  file://
  .*
)

brand-outgoing-requests by-handler-id
ram-page-limit 128
gas-limit 1048576
execution-limit 5m
  • Spec this out
    • Use confyg
    • Concept of a "default policy"
  • Implement in Olin
    • Uncleanly terminate program on ACL violation
  • wasmcloudd
    • Store ACLs in database with handlers
    • Update ACLs with update
    • Send ACLs with ExecRequest
  • cli
    • Add policy argument to run
    • Create/validate policies via the command line, submits to wasmcloud server
    • Patch/validate policies via the command line
``` // gitea.policy allow ( https://tulpa.dev ipfs:// random:// ) disallow ( file:// .* ) brand-outgoing-requests by-handler-id ram-page-limit 128 gas-limit 1048576 execution-limit 5m ``` - [x] Spec this out - [x] Use [confyg](https://godoc.org/within.website/confyg) - [x] Concept of a "default policy" - [x] Implement in Olin - [x] Uncleanly terminate program on ACL violation - [x] wasmcloudd - [x] Store ACLs in database with handlers - [x] Update ACLs with update - [x] Send ACLs with ExecRequest - [x] cli - [x] Add policy argument to run - [x] Create/validate policies via the command line, submits to wasmcloud server - [x] Patch/validate policies via the command line
cadey changed title from ACLs to Policies 2019-12-10 23:57:38 +00:00
cadey added a new dependency 2019-12-11 02:01:35 +00:00
cadey added this to the MVP milestone 2019-12-13 04:56:23 +00:00
cadey added spent time 2019-12-14 21:03:51 +00:00
2h 30min
cadey closed this issue 2019-12-14 21:04:31 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Total Time Spent: 2 hours 30 minutes
cadey
2 hours 30 minutes
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Blocks
#3 Documentation/book
within/wasmcloud
Reference: within/wasmcloud#12
No description provided.