Skip to content

Create a test that has user and origins statements with different stubjects #620

Description

@melvincarvalho

Suggested by @timbl , it would be good to have a test which tests users and origin combinations within different subjects.

Currently the ACL origin test looks as follows :

<#Owner> a <http://www.w3.org/ns/auth/acl#Authorization>;
  <http://www.w3.org/ns/auth/acl#accessTo> <https://localhost:3456/test/acl-tls/origin/test-folder/.acl>;
  <http://www.w3.org/ns/auth/acl#agent> <https://user1.databox.me/profile/card#me>;
  <http://www.w3.org/ns/auth/acl#origin> <http://example.org/>;
  <http://www.w3.org/ns/auth/acl#mode> <http://www.w3.org/ns/auth/acl#Read>, <http://www.w3.org/ns/auth/acl#Write>, <http://www.w3.org/ns/auth/acl#Control> .
  
<#Public> a <http://www.w3.org/ns/auth/acl#Authorization>;
  <http://www.w3.org/ns/auth/acl#accessTo> <./>;
  <http://www.w3.org/ns/auth/acl#agentClass> <http://xmlns.com/foaf/0.1/Agent>;
  <http://www.w3.org/ns/auth/acl#origin> <http://example.org/>;
  <http://www.w3.org/ns/auth/acl#mode> <http://www.w3.org/ns/auth/acl#Read> .

We could create a new ACL and run one or more tests against it.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions