OpenST / openst-contracts

OpenST is a framework for building token economies on Ethereum
Apache License 2.0
26 stars 19 forks source link

Repository should provide abstract firewall contract #199

Closed schemar closed 5 years ago

schemar commented 5 years ago

ℹ️ Look at the parent epic for most of the details: #193

Story

As a consumer of the package I want to have a re-usable firewall available Because I want to limit access to some of my rules

Scenarios

Given that I implement a rule When I extend the firewall Then my rule can check for tx.origin to be a registered worker with an organisation

Info

The info is in the epic #193

This ticket is only concerned with:

jasonklein commented 5 years ago

@schemar: is this ticket ripe for the backlog? You note the following in the epic:

Do we really want [a firewall-disabling function modified by onlyOrganization] or would we rather replace the firewalled rules with non-firewalled pendants?

schemar commented 5 years ago

It can always be changed later if it really has to be changed. Which is unlikely. So we can do it the way Ben instructed last week.

schemar commented 5 years ago

I cannot validate with Slither any more, opened a report at https://github.com/crytic/eth-security-toolbox/issues/8