Fair-Squares / fair-squares

Fair housing for all
http://www.fair-squares.nl
Apache License 2.0
16 stars 8 forks source link

196 add new roles and permissions #200

Closed ndkazu closed 1 year ago

ndkazu commented 1 year ago

Added Representative Role to the role pallet:

The hypthesis is that a professional applies for a job as Representative through the pallet role. Representatives pending list contains all infos available to the owners of an asset, so that they can study the profiles (do we need a metadata field?) and make a choice through the voting system in asset_management.

Next steps:

codecov-commenter commented 1 year ago

Codecov Report

Merging #200 (531e293) into main (9ce416e) will decrease coverage by 0.07%. The diff coverage is 80.64%.

@@            Coverage Diff             @@
##             main     #200      +/-   ##
==========================================
- Coverage   78.97%   78.89%   -0.08%     
==========================================
  Files          49       50       +1     
  Lines        4280     4388     +108     
==========================================
+ Hits         3380     3462      +82     
- Misses        900      926      +26     
Impacted Files Coverage Δ
pallets/asset_management/src/lib.rs 0.00% <0.00%> (ø)
pallets/voting/src/lib.rs 79.32% <ø> (ø)
runtime/src/lib.rs 12.22% <ø> (ø)
pallets/roles/src/lib.rs 74.13% <75.86%> (-0.31%) :arrow_down:
pallets/roles/src/functions.rs 90.81% <87.23%> (+0.81%) :arrow_up:
pallets/roles/src/tests.rs 100.00% <100.00%> (ø)
pallets/roles/src/types.rs 93.87% <100.00%> (+3.25%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

cuteolaf commented 1 year ago

Add Notary Role