diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-05 21:59:34 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-05 21:59:34 +0200 |
commit | d0efb8c068a86436359b3c20950d427c7a6a27cd (patch) | |
tree | 46b9c2405d4c97845d18b0e4c53551137e71afeb /app/helpers/resources_helper.rb | |
parent | 48031dde29d6dc4a0ba84c445ae4c07627257d4a (diff) | |
download | incommon-map-d0efb8c068a86436359b3c20950d427c7a6a27cd.tar.gz |
Add Agent and Agency models
Since IN COMMON is about collective management of data
we're using the concept of Agent to describe a group of
users acting together.
In ActivityPub terms, Agent will be the Actor when manipulating
data, so that any individual User (or application) member of this
Agent will be able to manipulate data on behalf of this Agent.
Therefore a User has many Agencies, and an Agent as well: the
Agency model allows not only to create a joint table between Agents
and Users, but also to manage User roles within the related Agent.
Roles are defined as:
- observer: one who can read and review or flag data
- editor: one who create or edit data
- maintainer: one who can edit data and manage maps
- leader: one who can manage roles
A User may have zero or more roles in an Agent.
A User without a Agency record for a specific Agent will only be
able to 'observe' public data from this Agent.
(Note that this is not currently specified, but matches existing
reflection on Agents)
https://doc.incommon.cc/#agents
Diffstat (limited to 'app/helpers/resources_helper.rb')
0 files changed, 0 insertions, 0 deletions