VO
Link: Vo - Github
What a Virtual Organization is
A Virtual Organization (VO) groups users who want to be administered by their own administrator, or who need specific rules applied to how they are managed. Each VO writes those specifics into its own policy, e.g. how strictly the identity of a user has to be verified, or which resources the VO may use.
In practice the VO is the boundary in Perun AAI. Memberships, Groups and the Resources offered to the VO all exist inside one VO. If you take part in several VOs, each of them keeps its own rules, its own members and its own offers, even when the same people appear in all of them.
What a VO holds together
A VO is the object that connects three other things:
Members - one user has one Member per VO, and that Member carries the membership status for this VO only.
Groups - a Group is a subset of the VO members and it cannot be moved outside the VO hierarchy it was created in. Access is granted to Groups, so Groups are where the VO hands out its Resources.
Resources - a Resource is the connection between a Facility and a VO, and it says how the VO may use that Facility.
Access is therefore never granted to a person on its own. It is granted to a Member through a Group on a Resource that belongs to the VO.
Who can work with a VO
The VO admin role is bound to one VO and determines which VO that person may manage. Perun AAI also has administrator roles bound to a Facility and to a Group, and every user holds the basic role Self. Which role may do what in detail is listed in Perun roles and their rights. (ADD LINK)
Working with one specific value is decided by the attribute itself, not only by the role. A VO administrator may be allowed to manage the members of their VO and still be blocked from changing a particular attribute on them, e.g. their email address. The same administrator may be allowed to remove a member, and removing the member also removes all of that member's attributes. So a right on an entity can be wider than a right on one value inside it.
Properties
id, the unique identifier of the VO. This value cannot be changed.
uuid, the standardized unique identifier used between Perun instances. This value cannot be changed.
name, the name of the VO. It is required and cannot be empty.
shortName, the short form of the VO name. It is required and cannot be empty. This value cannot be changed.
audit fields recording when and by whom the VO was created and last modified.
When Perun AAI compares two VOs, it orders them by name and ignores case, falling back to the identifier otherwise. Two VO records count as the same VO when their identifier, name and short name all match.
I don't know how name and shortName are meant to differ from each other, since the source only requires both to be filled in.
Attributes on a VO
Settings that belong to the VO itself are stored as attributes. Attribute names are structured, for example urn:perun:vo:attribute-def:def:A, where the namespace identifies the entity and the attribute type. Because the namespace carries the entity, an attribute name alone tells you which kind of object it can be set on.
Which attributes a VO needs filled in is not a fixed list. It depends on your need, and the need of instance where VO is hosted.