Skip to content

Enable member management authorization#15843

Merged
kjac merged 2 commits intov14/devfrom
v14/fix/member-management-autorization
Mar 8, 2024
Merged

Enable member management authorization#15843
kjac merged 2 commits intov14/devfrom
v14/fix/member-management-autorization

Conversation

@Migaroez
Copy link
Contributor

@Migaroez Migaroez commented Mar 5, 2024

Prerequisites

  • I have added steps to test this contribution in the description below

Description

Enabled section based authorization for member management endpoints.

Testing

The following endpoints should only be available if you have access to the member section

  • [GET] /umbraco/management/api/v1/filter/member
  • [POST] /umbraco/management/api/v1/member
  • [GET] /umbraco/management/api/v1/member/{id}
  • [DELETE] /umbraco/management/api/v1/member/{id}
  • [PUT] /umbraco/management/api/v1/member/{id}
  • [PUT] /umbraco/management/api/v1/member/{id}/validate
  • [POST] /umbraco/management/api/v1/member/{id}/validate

The following endpoint should be available when have access to either of the following sections: content, media, member (for use in pickers used in those sections)

  • [GET] /umbraco/management/api/v1/item/member

Changed filter endpoints from tree style auth to section as it returns the same model and be in line with other filter endpoints
@Migaroez Migaroez added the project/bellissima AKA "the new backoffice" label Mar 5, 2024
@Migaroez Migaroez changed the base branch from contrib to v14/dev March 6, 2024 08:09
@kjac kjac self-requested a review March 8, 2024 08:03
@kjac kjac merged commit ea31dde into v14/dev Mar 8, 2024
@kjac kjac deleted the v14/fix/member-management-autorization branch March 8, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

project/bellissima AKA "the new backoffice" release/14.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants