We're updating the issue view to help you get more done.Learn more

Allowed to create "New Role Assignment Rules" without entering policy name and identity pattern

A blank or empty rule assignment is getting creating i.e we are able to create the empty rule assignment without policy name and identity pattern.

Steps to Reproduce:

  • Login to zanata using admin.

  • Click on admin tab from left panel.

  • Select "Role Assignment Rule".

  • Click on "..." to create new role assignment.

  • Do not select any policy.

  • Do not enter anything in identity pattern.

  • Click on save.

Actual Result:

  • Blank/empty rule assignment is created.

Expected Result:

  • There should be an compulsory fields while adding new rule assignment.

  • If there fields are optional. then optional should be written in front of them

Note:

  • Attached screen captured for more ref.

Status

Assignee

Unassigned

Reporter

Sachin Pathare

Labels

Tested Version/s

None

Affects versions

platform-4.0.0

Priority

Medium