Skip to content

Dev next #347

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

Merged
merged 10 commits into from
Jul 18, 2019
Merged

Dev next #347

merged 10 commits into from
Jul 18, 2019

Conversation

maxceem
Copy link
Contributor

@maxceem maxceem commented Jul 18, 2019

@vikasrohit this PR is for your information and confirmation for new changes in the DEV branch:

  1. Fixed issue which has been left from CF18 [$120] Don't let invite user by email if he is already in the team or already invited #234
  2. Implementation of general permission methods with refactored copilotAndAbove permission "middleware" to use new general method for the proof of work. See General permission methods #346 for details.

@maxceem maxceem requested a review from vikasrohit July 18, 2019 05:20
@vikasrohit
Copy link

Thanks @maxceem. For the permission logic, do you think the util you have written now, is potentially candidate to be moved to the core library itself so that others can take benefit of the same logic and we have streamlined way to define permissions?

Copy link

@vikasrohit vikasrohit left a comment

Choose a reason for hiding this comment

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

LGTM

@vikasrohit vikasrohit merged commit d5d69da into dev Jul 18, 2019
@maxceem
Copy link
Contributor Author

maxceem commented Jul 18, 2019

Thanks @maxceem. For the permission logic, do you think the util you have written now, is potentially candidate to be moved to the core library itself so that others can take benefit of the same logic and we have streamlined way to define permissions?

2 of 3 methods don't depend on the DB, so they for sure can be moved to the core library (potentially). Also, I wrote them by keeping in mind that we are trying to implement simmilar methods in Connect App appirio-tech/connect-app#2841.

Anyway, the most important thing is not methods itself, but the format to define permissions. It would be great if we could use the same permission format across all the repos.

So I guess the plan here could be like:

  1. use new general methods and unified permission format in the Project Service
  2. update general methods to use the same unified permission format in Connect App
  3. see how it works, if there any limitations, if it's comfortable to use them, if they are pron to any errors and so on.
  4. adjust methods and formats if neccessary
  5. move the common permission methods to the core library

@vikasrohit
Copy link

Sounds like a plan. Go ahead.

@maxceem maxceem deleted the dev-next branch July 18, 2019 07:54
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