Skip to content

Deontic concepts supported by termsOfUse #276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
simonstey opened this issue Nov 14, 2018 · 4 comments
Closed

Deontic concepts supported by termsOfUse #276

simonstey opened this issue Nov 14, 2018 · 4 comments
Assignees
Labels
ready for PR This issue is ready for a Pull Request to be created to resolve it

Comments

@simonstey
Copy link

(related to #269 #234)


6.3 Terms of Use

termsOfUse - The value of this property MUST be one or more terms of use that tell the verifier what actions it MUST perform if it is to accept the verifiable credential or verifiable presentation.

Example 14 - "the issuer is prohibiting a verifier from storing the data in an archive."
Example 15 - "the holder, who is also the subject, is prohibiting the verifier (https://wineonline.example.org) from using the information provided to correlate the holder/subject by using a 3rd party service."

ODRL defines 3 types of Rules:

  • Permissions - actions one is allowed to do (but doesn't have to)
  • Prohibitions - actions one is not allowed to do
  • Duties - actions one has to do

Given above definition of ToU, accompanying examples 14/15, and ODRL's rule types, what actions does a verifier have to perform in examples 14/15?

Someone who's not familiar with the basics of Deontic Logic, hence does not know that:

F(a) ... Prohibition of a
P(a) ... Permission of a
O(a) ... Obligation/Duty of a

P(a) = -O(-a)
F(a) = O(-a) 

might expect to see Duties only.


Proposal: depending on the set of supported rule types, consider adding:

  • "what actions it MUST NOT perform" for prohibitions
  • "what actions it MAY perform" for permissions
@David-Chadwick
Copy link
Contributor

Good catch. Given your correction, we should change the definition to say:

termsOfUse - The value of this property MUST be one or more terms of use that tell the verifier what actions it either MUST perform (i.e. an Obligation) or MUST NOT perform (i.e. a Prohibition) or MAY perform (i.e. a Permission) if it is to accept the verifiable credential or verifiable presentation.

And update the examples to provide one example of each type.

@msporny msporny added the ready for PR This issue is ready for a Pull Request to be created to resolve it label Nov 14, 2018
@msporny
Copy link
Member

msporny commented Nov 14, 2018

+1, someone please submit a PR or I will eventually get to it. :)

@David-Chadwick
Copy link
Contributor

I have done this in PR#282

@msporny
Copy link
Member

msporny commented Feb 2, 2019

Fixed in 1eef220.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for PR This issue is ready for a Pull Request to be created to resolve it
Projects
None yet
Development

No branches or pull requests

3 participants