Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getRolePermissions of UserAdmin service does not check for role existency #1670

Open
nipunthathsara opened this issue Jun 30, 2018 · 0 comments

Comments

@nipunthathsara
Copy link
Contributor

Description:
Calling getRolePermissions for non-existing role returns with all permissions with false value. Should validate the role existency within the same call and return an appropriate response.

Affected Product Version:
IS-5.3.0

Steps to reproduce:

  1. Call getRolePermissions of userAdmin service with non-existing role name
    Eg: -
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://org.apache.axis2/xsd"> <soapenv:Header/> <soapenv:Body> <xsd:getRolePermissions> <!--Optional:--> <xsd:roleName>mockrole</xsd:roleName> </xsd:getRolePermissions> </soapenv:Body> </soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant