Skip to content

Commit

Permalink
Updated wording in the inheritance section
Browse files Browse the repository at this point in the history
  • Loading branch information
riannella committed Dec 1, 2016
1 parent 616a661 commit 62a7867
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion model/config.js
@@ -1,7 +1,7 @@
var respecConfig = {
specStatus: "ED",
shortName: "odrl-model",
publishDate: "2016-11-30",
publishDate: "2016-12-01",
editors: [
{ name: "Renato Iannella",
url: "https://au.linkedin.com/in/riannella",
Expand Down
13 changes: 4 additions & 9 deletions model/index.html
Expand Up @@ -273,23 +273,18 @@ <h4>Undefined Policy</h4>

<section id="inhertiance">
<h4>Policy Inheritance</h4>

<div class="issue" data-number="22">
<p>We need to make clear exactly what gets inherited and what gets overriden (if anything)</p>
</div>


<p>The <code>inheritAllowed</code> attribute in the <code>Policy</code> entity is used to indicate if the <code>Policy</code> expression can be used in any inheritance relationship. If present, the value of the <code>inheritAllowed</code> attribute MUST take one of the following values:</p>
<ul>
<li><code>true</code>: the <code>Policy</code> expression can be used for inheritance</li>
<li><code>false</code>: the <code>Policy</code> expression can not be used for inheritance</li>
</ul>
<p>If the <code>inheritAllowed</code> attribute is not explicitly set, its default value will be used instead. The default value of the <code>inherit</code> attribute is <code>true</code>.</p>
<p>Only if the <code>inheritAllowed</code> attribute has the value <code>true</code> MAY the following be used:</p>
<p>If the <code>inheritAllowed</code> attribute is not explicitly set, its default value of <code>true</code> will be used.</p>
<p>The following attributes MAY be used in a child policy that is inheriting from a parent policy in which that parent policy MUST allow inheritance (vai the <code>inheritAllowed</code> attribute) :</p>

<ul>
<li><code>inheritFrom</code>: the identifier from which this <code>Policy</code> inherits from it&#8217;s parent <code>Policy</code> (OPTIONAL)</li>
<li><code>inheritRelation</code>: the identifier for the relationship type of this inheritance structure (OPTIONAL)</li>
<li><code>inheritFrom</code>: the identifier from which this child <code>Policy</code> inherits from the parent <code>Policy</code></li>
<li><code>inheritRelation</code>: the identifier for the relationship type of this inheritance structure</li>
</ul>


Expand Down

0 comments on commit 62a7867

Please sign in to comment.