Cannot revoke access from previous project owner

Summary

Project-A was created by User-A under the namespace Group-1. User-B was added as a member of the project and then assigned the owner role. The root user was used to revoke User-A's access to Project-A. User-A still shows up as an owner on the Settings > Members tab.

Issuing a DELETE /projects/:id/members/:id request, got back {"message":"Access revoked","id":<User-A's ID here>} as a response. However, User-A still shows up as an owner on the Settings > Members tab.

Steps to reproduce

  1. Create Project-A as User-A
  2. Add User-B to Project-A
  3. Grant User-B the owner role
  4. Revoke User-A's access to Project-A
  5. Note that User-A still shows as having access

What is the current bug behavior?

User's owner-level access to the project is not being revoked

What is the expected correct behavior?

User's owner-level access should be revoked

Edited Jun 09, 2017 by Sean Vail
Assignee Loading
Time tracking Loading