Closed moebiusband73 closed 2 weeks ago
scope
in tag table$Username
: The username of the user creating the tag, equivalent to Private
, thus only visible to the userglobal
: Tags visible for everyone, e.g. auto-tagged software tags via APIadmin
: Tags visible for administrative staff only (roles admin, support
), e.g. tags relating to job healthUser
role users will see no difference, tags will automatically be private in scopeAdmin
role users will see an additional selector, allowing to select the scope of the new tag (Defaults to Private)type ApiTag
now includes field for the scope of the to be created tag
Currently tags are globally visible. Everybody including regular users can see all tags.
It would be useful if tags set by users are restricted to one user and globale tags are not visible to regular users.
A possible implementation would add a column scope which is then either global oder a user_id. For a regular user only his own tags are shown. The scope column can be set implicitly by considering the highest role.