Class: RDF::Vocab::ACL

Inherits:
StrictVocabulary show all
Defined in:
vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb

Overview

Vocabulary for http://www.w3.org/ns/auth/acl#

Basic Access Control ontology

Defines the class Authorization and its essential properties, and also some classes of access such as read and write.

Instance Attribute Summary collapse

Method Summary

Methods inherited from StrictVocabulary

[], strict?

Methods inherited from RDF::Vocabulary

[], #[], __prefix__, _orig_each, _orig_from_sym, camelize, each, each_statement, enum_for, expand_pname, find, find_term, from_graph, from_sym, imported_from, imports, #initialize, inspect, #inspect, limit_vocabs, list, method_missing, #method_missing, ontology, properties, property, strict?, to_html, to_iri, to_jsonld, #to_s, to_s, to_ttl, #to_uri, to_uri, value_to_html, vocab_map

Constructor Details

This class inherits a constructor from RDF::Vocabulary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RDF::Vocabulary

Instance Attribute Details

#AccessRDF::Vocabulary::Term (readonly)

Any kind of access to a resource. Don't use this, use R W and RW



9
10
11
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 9

def Access
  @Access
end

#accessControlRDF::Vocabulary::Term (readonly)

The Access Control file for this information resource. This may of course be a virtual resource implemented by the access control system. Note also HTTP's header Link: foo.meta ;rel=meta can be used for this.



40
41
42
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 40

def accessControl
  @accessControl
end

#accessToRDF::Vocabulary::Term (readonly)

The information resource to which access is being granted.



44
45
46
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 44

def accessTo
  @accessTo
end

#accessToClassRDF::Vocabulary::Term (readonly)

A class of information resources to which access is being granted.



48
49
50
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 48

def accessToClass
  @accessToClass
end

#agentRDF::Vocabulary::Term (readonly)

A person or social entity to being given the right



52
53
54
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 52

def agent
  @agent
end

#agentClassRDF::Vocabulary::Term (readonly)

A class of persons or social entities to being given the right



56
57
58
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 56

def agentClass
  @agentClass
end

#agentGroupRDF::Vocabulary::Term (readonly)

A group of persons or social entities to being given the right. The right is given to any entity which is a vcard:member of the group, as defined by the document received when the Group is dereferenced.



60
61
62
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 60

def agentGroup
  @agentGroup
end

#AppendRDF::Vocabulary::Term (readonly)

Append accesses are specific write access which only add information, and do not remove information. For text files, for example, append access allows bytes to be added onto the end of the file. For RDF graphs, Append access allows adds triples to the graph but does not remove any. Append access is useful for dropbox functionality. Dropbox can be used for link notification, which the information added is a notification that a some link has been made elsewhere relevant to the given resource.



13
14
15
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 13

def Append
  @Append
end

#AuthenticatedAgentRDF::Vocabulary::Term (readonly)

A class of agents who have been authenticated. In other words, anyone can access this resource, but not anonymously. The social expectation is that the authentication process will provide an identify and a name, or pseudonym. (A new ID should not be minted for every access: the intent is that the user is able to continue to use the ID for continues interactions with peers, and for example to develop a reputation)



17
18
19
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 17

def AuthenticatedAgent
  @AuthenticatedAgent
end

#AuthorizationRDF::Vocabulary::Term (readonly)

An element of access control, allowing agent to agents access of some kind to resources or classes of resources



21
22
23
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 21

def Authorization
  @Authorization
end

#ControlRDF::Vocabulary::Term (readonly)

Allows read/write access to the ACL for the resource(s)



25
26
27
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 25

def Control
  @Control
end

#defaultRDF::Vocabulary::Term (readonly)

If a resource has no ACL file (it is 404), then access to the resource if given by the ACL of the immediately containing directory, or failing that (404) the ACL of the recursively next containing directory which has an ACL file. Within that ACL file, any Authentication which has that directory as its acl:default applies to the resource. (The highest directory must have an ACL file.)



64
65
66
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 64

def default
  @default
end

#defaultForNewRDF::Vocabulary::Term (readonly)

THIS IS OBSOLETE AS OF 2017-08-01. See 'default'. Was: A directory for which this authorization is used for new files in the directory.



68
69
70
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 68

def defaultForNew
  @defaultForNew
end

#delegatesRDF::Vocabulary::Term (readonly)

Delegates a person or another agent to act on behalf of the agent. For example, Alice delegates Bob to act on behalf of Alice for ACL purposes.



72
73
74
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 72

def delegates
  @delegates
end

#modeRDF::Vocabulary::Term (readonly)

A mode of access such as read or write.



76
77
78
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 76

def mode
  @mode
end

#originRDF::Vocabulary::Term (readonly)

A web application, identified by its Origin, such as https://scripts.example.com, being given the right. When a user of the web application at a certain origin accesses the server, then the browser sets the Origin: header to warn that a possibly untrusted webapp is being used. Then, BOTH the user AND the origin must have the required access.



80
81
82
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 80

def origin
  @origin
end

#OriginRDF::Vocabulary::Term (readonly)

An Origin is basically a web site (Note WITHOUT the trailing slash after the domain name and port in its URI) and is the basis for controlling access to data by web apps in the Same Origin Model of web security. All scripts from the same origin are given the same right.



29
30
31
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 29

def Origin
  @Origin
end

#ownerRDF::Vocabulary::Term (readonly)

The person or other agent which owns this. For example, the owner of a file in a filesystem. There is a sense of right to control. Typically defaults to the agent who craeted something but can be changed.



84
85
86
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 84

def owner
  @owner
end

#ReadRDF::Vocabulary::Term (readonly)

The class of read operations



33
34
35
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 33

def Read
  @Read
end

#WriteRDF::Vocabulary::Term (readonly)



36
37
38
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/acl.rb', line 36

def Write
  @Write
end