Skip to content

Commit

Permalink
docs: fix indentation in README
Browse files Browse the repository at this point in the history
  • Loading branch information
jihed-chalghaf committed Oct 9, 2023
1 parent 3c90ddc commit cc70ffe
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,38 @@ A smart contract that manages issuing & verifying university certificates, built
⸻⸻⸻⸻⸻⸻⸻⮞ Unicerts properties ⮜⸻⸻⸻⸻⸻⸻⸻

- supports_adding_students:
enabled?: true
requirement: "not callable by admin"
enabled?: true
requirement: "not callable by admin"
- supports_retrieving_students:
enabled?: true
types:
getStudent: "a student can only get his own data"
getStudents: "only callable by admin"
enabled?: true
types:
getStudent: "a student can only get his own data"
getStudents: "only callable by admin"
- supports_retrieving_certificates:
enabled?: true
types:
getCertificate: "called by anyone"
getCertificates: "only callable by admin"
getStudentCertificates: "only callable by admin or the concerned student"
enabled?: true
types:
getCertificate: "called by anyone"
getCertificates: "only callable by admin"
getStudentCertificates: "only callable by admin or the concerned student"
- supports_requesting_certificates:
enabled?: true
requirements:
1: "only callable by students"
2: "cert should not be already registered"
enabled?: true
requirements:
1: "only callable by students"
2: "cert should not be already registered"
- supports_reviewing_certificates:
enabled?: true
requirements:
1: "only callable by admin"
2: "cert should be already registered and pending"
enabled?: true
requirements:
1: "only callable by admin"
2: "cert should be already registered and pending"
- supports_issuing_certificates:
enabled?: true
requirements:
1: "only callable by admin"
2: "student should exist"
3: "cert should not be already registered"
enabled?: true
requirements:
1: "only callable by admin"
2: "student should exist"
3: "cert should not be already registered"
- supports_checking_certificates_validities:
enabled?: true
requirements: "cert should be already registered"
enabled?: true
requirements: "cert should be already registered"
```
## ❄ Testing and Development
Expand Down

0 comments on commit cc70ffe

Please sign in to comment.