gazette.views.groups

Functions

view_groups(→ onegov.core.types.RenderData)

View all the user groups.

create_group(→ RenderData | Response)

Create a new user group.

edit_group(→ RenderData | Response)

Edit a user group.

delete_group(→ RenderData | Response)

Delete a user group.

Module Contents

gazette.views.groups.view_groups(self: onegov.user.UserGroupCollection[onegov.user.UserGroup], request: onegov.gazette.request.GazetteRequest) onegov.core.types.RenderData[source]

View all the user groups.

This view is only visible by an admin.

gazette.views.groups.create_group(self: onegov.user.UserGroupCollection[onegov.user.UserGroup], request: onegov.gazette.request.GazetteRequest, form: onegov.user.forms.UserGroupForm) RenderData | Response[source]

Create a new user group.

This view is only visible by an admin.

gazette.views.groups.edit_group(self: onegov.user.UserGroup, request: onegov.gazette.request.GazetteRequest, form: onegov.user.forms.UserGroupForm) RenderData | Response[source]

Edit a user group.

This view is only visible by an admin.

gazette.views.groups.delete_group(self: onegov.user.UserGroup, request: onegov.gazette.request.GazetteRequest, form: onegov.gazette.forms.EmptyForm) RenderData | Response[source]

Delete a user group.

This view is only visible by an admin.