wso2 / product-sp

An open source, cloud-native streaming data integration and analytics product optimized for agile digital businesses
https://wso2.com/analytics-and-stream-processing/
Apache License 2.0
120 stars 132 forks source link

Viewer role in Dashboard is not working. #1038

Closed ug205 closed 5 years ago

ug205 commented 5 years ago

Description: As per the documentation[1], the dashboard portal has 2 levels of permissions. One of these permissions is the viewer. The user with this role is only allowed to have read-only access to the dashboard. This role is not working.

[1] https://docs.wso2.com/display/SP400/Dashboard+Authorization+Configuration

Affected Product Version: WSO2-SP-4.0.0/4.1.0/4.2.0/4.3.0/4.4.0 APIM, IS and EI analytics servers using SP.

Steps to reproduce:

  1. Add the following configuration to /conf/dashboard/deployment.yaml

wso2.dashboard: roles: viewer:

  1. Create a user assigning this role.

  2. Start dashboard.sh (Will give an error under Cannot create property=viewer)

lasanthaS commented 5 years ago

Resolved, hence closing.