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

User roles and cleanup #109

Merged
merged 11 commits into from
Mar 26, 2019
Merged

User roles and cleanup #109

merged 11 commits into from
Mar 26, 2019

Conversation

GettyOrawo
Copy link
Contributor

@GettyOrawo GettyOrawo commented Mar 26, 2019

Fixes issue number

fixes #110

Describe the changes made on this PR

Done

Change context from User to Accounts to avoid redundancy since there's already a module called User.
Create a form with functionality for creating a role.

  • Roles should not be blank
  • Roles should be unique
    Context tests for the above functionality

To be done

  • Every created user should belong to a role.
  • A role can have many users.

Visuals

GIF

roles

Reviews

  • I have formated by code as expected
    We have a handy tool that helps you check if your elixir code is well formatted. If the tool passes on your local build
    then it will definitly pass our linting checks online

  • I have filled in all the required information above

  • I have marked my work as ready for review

@LindaKadz LindaKadz merged commit 8ed2545 into develop Mar 26, 2019
@LindaKadz LindaKadz removed the review label Mar 26, 2019
@sigu sigu deleted the user-roles-and-cleanup branch April 2, 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.

Add roles table
3 participants