feat(teams): add public flags to teams to allow easier sharing with other teams (#2179)
Resolves #2173 Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com> Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2179 Reviewed-by: konrad <k@knt.li> Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de> Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
This commit is contained in:
@ -8229,6 +8229,14 @@ const docTemplate = `{
|
||||
"description": "The unique, numeric id of this team.",
|
||||
"type": "integer"
|
||||
},
|
||||
"include_public": {
|
||||
"description": "Query parameter controlling whether to include public projects or not",
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_public": {
|
||||
"description": "Defines wether the team should be publicly discoverable when sharing a project",
|
||||
"type": "boolean"
|
||||
},
|
||||
"members": {
|
||||
"description": "An array of all members in this team.",
|
||||
"type": "array",
|
||||
@ -8364,6 +8372,14 @@ const docTemplate = `{
|
||||
"description": "The unique, numeric id of this team.",
|
||||
"type": "integer"
|
||||
},
|
||||
"include_public": {
|
||||
"description": "Query parameter controlling whether to include public projects or not",
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_public": {
|
||||
"description": "Defines wether the team should be publicly discoverable when sharing a project",
|
||||
"type": "boolean"
|
||||
},
|
||||
"members": {
|
||||
"description": "An array of all members in this team.",
|
||||
"type": "array",
|
||||
@ -8886,6 +8902,9 @@ const docTemplate = `{
|
||||
"motd": {
|
||||
"type": "string"
|
||||
},
|
||||
"public_teams_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"registration_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
@ -8221,6 +8221,14 @@
|
||||
"description": "The unique, numeric id of this team.",
|
||||
"type": "integer"
|
||||
},
|
||||
"include_public": {
|
||||
"description": "Query parameter controlling whether to include public projects or not",
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_public": {
|
||||
"description": "Defines wether the team should be publicly discoverable when sharing a project",
|
||||
"type": "boolean"
|
||||
},
|
||||
"members": {
|
||||
"description": "An array of all members in this team.",
|
||||
"type": "array",
|
||||
@ -8356,6 +8364,14 @@
|
||||
"description": "The unique, numeric id of this team.",
|
||||
"type": "integer"
|
||||
},
|
||||
"include_public": {
|
||||
"description": "Query parameter controlling whether to include public projects or not",
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_public": {
|
||||
"description": "Defines wether the team should be publicly discoverable when sharing a project",
|
||||
"type": "boolean"
|
||||
},
|
||||
"members": {
|
||||
"description": "An array of all members in this team.",
|
||||
"type": "array",
|
||||
@ -8878,6 +8894,9 @@
|
||||
"motd": {
|
||||
"type": "string"
|
||||
},
|
||||
"public_teams_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"registration_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
@ -877,6 +877,14 @@ definitions:
|
||||
id:
|
||||
description: The unique, numeric id of this team.
|
||||
type: integer
|
||||
include_public:
|
||||
description: Query parameter controlling whether to include public projects
|
||||
or not
|
||||
type: boolean
|
||||
is_public:
|
||||
description: Defines wether the team should be publicly discoverable when
|
||||
sharing a project
|
||||
type: boolean
|
||||
members:
|
||||
description: An array of all members in this team.
|
||||
items:
|
||||
@ -984,6 +992,14 @@ definitions:
|
||||
id:
|
||||
description: The unique, numeric id of this team.
|
||||
type: integer
|
||||
include_public:
|
||||
description: Query parameter controlling whether to include public projects
|
||||
or not
|
||||
type: boolean
|
||||
is_public:
|
||||
description: Defines wether the team should be publicly discoverable when
|
||||
sharing a project
|
||||
type: boolean
|
||||
members:
|
||||
description: An array of all members in this team.
|
||||
items:
|
||||
@ -1369,6 +1385,8 @@ definitions:
|
||||
type: string
|
||||
motd:
|
||||
type: string
|
||||
public_teams_enabled:
|
||||
type: boolean
|
||||
registration_enabled:
|
||||
type: boolean
|
||||
task_attachments_enabled:
|
||||
|
Reference in New Issue
Block a user