apache / airavata-custos

Apache Airavata Custos Security
https://airavata.apache.org/custos
Apache License 2.0
15 stars 27 forks source link

Portal admin user should not be able to add empty Permissions #112

Closed eroma2014 closed 3 years ago

eroma2014 commented 4 years ago

Description

Restrict adding empty permission types.

Steps to Reproduce

  1. Admin user logs in
  2. Clicks on 'Add Permission Type'
  3. Clicks add without adding text.
  4. Error thrown
  5. vue.runtime.esm.js:1888 Error: Request failed with status code 500 at t.exports (createError.js:16) at t.exports (settle.js:17) at XMLHttpRequest.f.onreadystatechange (xhr.js:69)
  6. TO the portal user no error message is displayed, appears to be processing the bad request.

Expected Behaviour

Your Environment

https://demo.gateway.custos.scigap.org/

Screen Shot 2020-10-05 at 9 52 09 PM

Additional Context

isururanawaka commented 3 years ago

closing issue due to inactivity, if the issue exists in the new portal please reopen.