Proper error message required while deleting Roles.

Description

A Proper error message has to through while roles deletion, If there is any user associated with roles.

Steps to reproduce:

  • Login to zanata as admin.

  • Go to admin section.

  • Click on Manage Roles.

  • Create two roles role1 and role2.

  • Create new user and assign him role1.

  • Now try to delete both roles.

  • Observe the role1 deletion.

Actual Result:

  • Unexpected error.

Expected Result:

  • abc user is associated with this, are you sure you wants to delete this role. please change the role of user or delete it.

Note:

  • attached screen captured.

Logs :

Environment

None

Attachments

1
  • 17 May 2017, 11:52 am

Activity

Show:

Details

Assignee

Reporter

Labels

Tested Version/s

Affects versions

Priority

More fields

Created 17 May 2017 at 11:51
Updated 17 May 2017 at 12:23

Flag notifications