ConsenSysMesh / Stow-Smart-Contracts

Formerly Linnia-Smart-Contracts
https://stow-protocol.com/
MIT License
56 stars 39 forks source link

Lp 567/feat/policy based permissions #106

Closed godfreyhobbs closed 6 years ago

godfreyhobbs commented 6 years ago

This will be a simple smart contract approach to policy based permission. This is to demonstrate what is possible to developers. The new method checks a contract based on the newPermissionPolicyI.sol interface.

codecov-io commented 6 years ago

Codecov Report

Merging #106 into master will increase coverage by 0.26%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #106      +/-   ##
=========================================
+ Coverage   96.33%   96.6%   +0.26%     
=========================================
  Files           7       8       +1     
  Lines         191     206      +15     
  Branches       44      48       +4     
=========================================
+ Hits          184     199      +15     
  Misses          7       7
Impacted Files Coverage Δ
contracts/mock/IrisScoreProviderMock.sol 100% <ø> (ø) :arrow_up:
contracts/LinniaPermissions.sol 98.21% <100%> (+0.43%) :arrow_up:
contracts/mock/PermissionPolicyMock.sol 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dfe169c...fdf1e73. Read the comment docs.

MaxBlaushild commented 6 years ago

I will implement Record based policies in a separate PR