Skip to content
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

Feat: CASL permission voyage sprints #193

Merged
merged 27 commits into from
Sep 16, 2024

Conversation

Ajen07
Copy link
Contributor

@Ajen07 Ajen07 commented Aug 31, 2024

Description

  • Add permissions for Voyage Sprint endpoint

Issue link

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature updates / changes
  • Tests
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • test with yarn test:docker
  • tested with swagger

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have updated the change log

@Ajen07 Ajen07 added the feature label Aug 31, 2024
@Ajen07 Ajen07 self-assigned this Aug 31, 2024
@Ajen07 Ajen07 changed the title Feature: CASL permission voyage sprints Feat: CASL permission voyage sprints Aug 31, 2024
Copy link
Contributor

@cherylli cherylli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good so far, what do you think about adding a new Action for the forms?

src/sprints/sprints.controller.ts Outdated Show resolved Hide resolved
src/sprints/sprints.controller.ts Outdated Show resolved Hide resolved
src/sprints/sprints.controller.ts Outdated Show resolved Hide resolved
src/sprints/sprints.controller.ts Outdated Show resolved Hide resolved
src/sprints/sprints.service.ts Outdated Show resolved Hide resolved
src/ability/ability.factory/ability.factory.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@timDeHof timDeHof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All tests passed! everything works on swagger

timDeHof
timDeHof previously approved these changes Sep 1, 2024
Copy link
Contributor

@timDeHof timDeHof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All tests passed! everything works on swagger

Copy link
Contributor

@timDeHof timDeHof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added some comments to code.

Copy link
Contributor

@cherylli cherylli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use more descriptive commit message rather than minor changes

src/ability/conditions/meetingOrAgenda.ability.ts Outdated Show resolved Hide resolved
@Ajen07 Ajen07 requested a review from cherylli September 9, 2024 10:40
@Ajen07 Ajen07 marked this pull request as draft September 9, 2024 10:49
@Ajen07 Ajen07 force-pushed the feature/casl-permission-voyage-sprints branch from c900557 to ad2cc7c Compare September 9, 2024 10:56
@Ajen07 Ajen07 marked this pull request as ready for review September 9, 2024 10:57
@cherylli cherylli closed this Sep 9, 2024
@cherylli cherylli deleted the feature/casl-permission-voyage-sprints branch September 9, 2024 12:09
@cherylli cherylli restored the feature/casl-permission-voyage-sprints branch September 9, 2024 12:14
@cherylli cherylli reopened this Sep 9, 2024
@Ajen07 Ajen07 requested a review from cherylli September 9, 2024 14:13
Copy link
Contributor

@cherylli cherylli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, ran all tests locally

@cherylli cherylli dismissed timDeHof’s stale review September 15, 2024 09:20

requested changes made

Copy link
Contributor

@timDeHof timDeHof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, everything passes in the tests and on swagger.

Copy link
Contributor

@timDeHof timDeHof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, everything passes in the tests and on swagger.

@cherylli cherylli removed the review label Sep 15, 2024
@Ajen07 Ajen07 merged commit 0445f6e into dev Sep 16, 2024
1 check passed
@Ajen07 Ajen07 deleted the feature/casl-permission-voyage-sprints branch September 16, 2024 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants