• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

andela / wg-wits
93%
develop: 42%

Build:
Build:
LAST BUILD BRANCH: ft-export-workouts-159236209
DEFAULT BRANCH: develop
Repo Added 30 Jul 2018 04:37PM UTC
Files 280
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH ft-api-create-users-159236198
branch: ft-api-create-users-159236198
CHANGE BRANCH
x
Reset
  • ft-api-create-users-159236198
  • bg-fix-exercises-endpoint-typo-159236197
  • ch-Change-authors-field-to-foreign-key
  • ch-add-badges-159396462
  • ch-re-implement-skipped-tests-160057885
  • ch-remove-multiple-imports
  • ch-wrkoutlog-sessn-rlation-159236203
  • develop
  • fix-auth-buttons-landingpage-159236215
  • fix-heroku-deployment-159557467
  • ft-Add-already-eaten-meal-159236205
  • ft-Change-authors-field-to-foreign-key
  • ft-Change-the-way-user-add-a-meal-159236210
  • ft-add-drop-sets-159236200
  • ft-add-fitbit-159236199
  • ft-allow-deleting-trainers-159236214
  • ft-bodypart-hover-159236217
  • ft-cache-nutritional-values-159236196
  • ft-compare-members-159236204
  • ft-enable-social-logins-159236216
  • ft-exercise-cache-on-delete-muscles-159236201
  • ft-exercises-info-endpoint-159236197
  • ft-export-workouts-159236209
  • ft-landing-page-rework-159236193
  • ft-more-than-one-gyms-159687667
  • ft-present-deactivated-usrs-159236195
  • ft-support-cycles-159236213
  • ft-trans-ex-ingrdient-159236202
  • ft-translation-away-from-transifex-159236206
  • ft-update-muscle-list-159236208
  • fx-cache-nutritional-values-159236196

pending completion
360

push

travis-ci

wasswa-derick
[Feature] Grant users permission to create users via REST API

This command is executed by the admin to give the user permissions
to create users via the REST API. The command expects either a username
or an email.

* Add special flags to the userprofile

  Add a special to indicate whether a user was created via REST API
  and a flag to verify whether a user has permissions to create users
  via REST API

* Create model to show REST API users relationship

  Create a one-to-one table that represents a relationship between
  the users and the rest api users they created.

* Create a permission for REST API user creation

* Create a serializer for the user objects

  Create a serializer class to parse the complex user objects into
  a simpler JSON format

* Create Viewset for REST API user creation

  Implement a view set to register a user via REST API.
  Ensure that when a user is registered, the one to one
  table is populated to maintain the relationship.

* Create the private API endpoint for user registration

  Register a private endpoint that enables users to create other
  users via the REST API. The endpoint is restricted and the user
  is able to create users once they get permission from the admin.

* List all REST API users

  Create a command that the admin can use to list all the users created
  via the REST API.

* [Feature #159236198] Add migrations

* [Feature #159236198] Test REST API user creation

* Fix admin commands for rest api user creation

* Write tests for rest api user creation and admin commands

* Resolve flake8 conflicts

* Change model field help text for proper indentation

* Resolve merge conflicts

* Write more tests for add_user_rest_api command

* Protect endpoint from unauthenticated access

* Restrict creating user whose email exists via REST API

[Delivers #159236198]

12481 of 13409 relevant lines covered (93.08%)

1.86 hits per line

Relevant lines Covered
Build:
Build:
13409 RELEVANT LINES 12481 COVERED LINES
1.86 HITS PER LINE
Source Files on ft-api-create-users-159236198
  • List 0
  • Changed 49
  • Source Changed 49
  • Coverage Changed 49
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
360 ft-api-create-users-159236198 [Feature] Grant users permission to create users via REST API This command is executed by the admin to give the user permissions to create users via the REST API. The command expects either a username or an email. * Add special flags to the user... push 17 Aug 2018 09:59AM UTC wasswa-derick travis-ci pending completion  
361 ft-api-create-users-159236198 [Feature] Grant users permission to create users via REST API This command is executed by the admin to give the user permissions to create users via the REST API. The command expects either a username or an email. * Add special flags to the user... Pull #20 17 Aug 2018 09:59AM UTC web-flow travis-ci pending completion  
358 ft-api-create-users-159236198 Restrict creating user whose email exists via REST API push 17 Aug 2018 09:49AM UTC wasswa-derick travis-ci pending completion  
359 ft-api-create-users-159236198 Restrict creating user whose email exists via REST API Pull #20 17 Aug 2018 09:49AM UTC web-flow travis-ci pending completion  
351 ft-api-create-users-159236198 [Feature] Grant users permission to create users via REST API This command is executed by the admin to give the user permissions to create users via the REST API. The command expects either a username or an email. * Add special flags to the user... Pull #20 17 Aug 2018 06:06AM UTC web-flow travis-ci pending completion  
350 ft-api-create-users-159236198 [Feature] Grant users permission to create users via REST API This command is executed by the admin to give the user permissions to create users via the REST API. The command expects either a username or an email. * Add special flags to the user... push 17 Aug 2018 06:04AM UTC wasswa-derick travis-ci pending completion  
349 ft-api-create-users-159236198 [Feature] Grant users permission to create users via REST API This command is executed by the admin to give the user permissions to create users via the REST API. The command expects either a username or an email. * Add special flags to the user... Pull #20 16 Aug 2018 06:55PM UTC web-flow travis-ci pending completion  
348 ft-api-create-users-159236198 [Feature] Grant users permission to create users via REST API This command is executed by the admin to give the user permissions to create users via the REST API. The command expects either a username or an email. * Add special flags to the user... push 16 Aug 2018 06:52PM UTC wasswa-derick travis-ci pending completion  
347 ft-api-create-users-159236198 Resolve merge conflicts Pull #20 16 Aug 2018 05:57PM UTC web-flow travis-ci pending completion  
346 ft-api-create-users-159236198 Resolve merge conflicts push 16 Aug 2018 05:56PM UTC wasswa-derick travis-ci pending completion  
See All Builds (347)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc