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

Implement roles and permissions #14

Merged
merged 2 commits into from Jul 20, 2020
Merged

Implement roles and permissions #14

merged 2 commits into from Jul 20, 2020

Conversation

abhi40308
Copy link
Collaborator

Description

Implement role list view

@abhi40308 abhi40308 changed the title Users Implement roles and permissions Jul 19, 2020
Copy link
Contributor

@giorgiozoppi giorgiozoppi left a comment

Choose a reason for hiding this comment

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

  1. put a mechanism in a config file instead writing // In production disable...etc.
  2. We need better way, if exist to define actions...you cannot extend action for everything...doesn't scale: createAction, createSuccessAction...you are smarter than the average javascript programmer. Find a way to write less code. At work we are paid to write less code possible. If iyou find you will gain in mantainence otherwise we keep this. Same thing for the payload
  3. Now is not here, but this morning i have seen something like 403 hardcode. Never hardcode numbers, use constants, because if you loose on the way...it is a mess.

@giorgiozoppi
Copy link
Contributor

Try to think on how to write less code possible.

@abhi40308 abhi40308 merged commit c11faf0 into openMF:master Jul 20, 2020
@abhi40308
Copy link
Collaborator Author

Sure, will keep these points in mind in upcoming prs

@abhi40308 abhi40308 deleted the users branch August 17, 2020 21:38
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.

None yet

2 participants