-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/permissions #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[SwaggerOperation(OperationId = "GetAllEventMemberships")] | ||
public async Task<IActionResult> GetAll(Guid id, CancellationToken ct) | ||
{ | ||
var result = await _eventMembershipService.GetByEventAsync(id, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing auth check here?
[SwaggerOperation(OperationId = "CreateEventMembership")] | ||
public async Task<IActionResult> CreateMembership([FromRoute] Guid eventId, EventMembership eventMembership, CancellationToken ct) | ||
{ | ||
var result = await _eventMembershipService.CreateAsync(eventMembership, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auth check?
[SwaggerOperation(OperationId = "DeleteEventMembership")] | ||
public async Task<IActionResult> DeleteMembership([FromRoute] Guid id, CancellationToken ct) | ||
{ | ||
await _eventMembershipService.DeleteAsync(id, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auth check?
[SwaggerOperation(OperationId = "GetAllEventRoles")] | ||
public async Task<IActionResult> GetAll(CancellationToken ct) | ||
{ | ||
var result = await _eventRoleService.GetAsync(ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auth check?
[SwaggerOperation(OperationId = "GetAllEventTemplateMemberships")] | ||
public async Task<IActionResult> GetAll(Guid id, CancellationToken ct) | ||
{ | ||
var result = await _eventTemplateMembershipService.GetByEventTemplateAsync(id, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auth check?
[SwaggerOperation(OperationId = "GetGroupMemberships")] | ||
public async STT.Task<IActionResult> GetMemberships([FromRoute] Guid groupId, CancellationToken ct) | ||
{ | ||
var result = await _GroupService.GetMembershipsForGroupAsync(groupId, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auth check?
[SwaggerOperation(OperationId = "CreateGroupMembership")] | ||
public async STT.Task<IActionResult> CreateMembership([FromRoute] Guid groupId, GroupMembership groupMembership, CancellationToken ct) | ||
{ | ||
var result = await _GroupService.CreateMembershipAsync(groupMembership, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auth check?
[SwaggerOperation(OperationId = "DeleteGroupMembership")] | ||
public async STT.Task<IActionResult> DeleteMembership([FromRoute] Guid id, CancellationToken ct) | ||
{ | ||
await _GroupService.DeleteMembershipAsync(id, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auth check?
[SwaggerOperation(OperationId = "UpdateSystemRole")] | ||
public async Task<IActionResult> Update([FromRoute] Guid id, SystemRole systemRole, CancellationToken ct) | ||
{ | ||
var result = await _systemRoleService.UpdateAsync(id, systemRole, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auth check?
[SwaggerOperation(OperationId = "DeleteSystemRole")] | ||
public async Task<IActionResult> Delete([FromRoute] Guid id, CancellationToken ct) | ||
{ | ||
await _systemRoleService.DeleteAsync(id, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auth check?
…to feature/permissions
No description provided.