You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haonan Hou (Jira)" <ji...@apache.org> on 2022/02/23 08:18:00 UTC

[jira] [Assigned] (IOTDB-2591) Using OIDC as the authority authentication service, the root user has no read and write authority

     [ https://issues.apache.org/jira/browse/IOTDB-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haonan Hou reassigned IOTDB-2591:
---------------------------------

    Assignee: luke.miao

> Using OIDC as the authority authentication service, the root user has no read and write authority
> -------------------------------------------------------------------------------------------------
>
>                 Key: IOTDB-2591
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2591
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>    Affects Versions: 0.13.0-SNAPSHOT
>            Reporter: xiaozhihong
>            Assignee: luke.miao
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: log_all.log
>
>
> Step 1: Modify parameters in the iotdb-engine.properties
> {code:java}
> authorizer_provider_class=org.apache.iotdb.db.auth.authorizer.OpenIdAuthorizer
> set.openID_url=http://IP:port/auth/realms/iotdb/ {code}
> Step 2: Generate Token information through Keycloak
> Step 3: Start server, enter CLI through Token
> Step 4: read and write operations
> like this:
> {code:java}
> IoTDB> login successfully
> IoTDB> show storage group
> +-------------+
> |storage group|
> +-------------+
> +-------------+
> Empty set.
> It costs 0.167s
> IoTDB> set storage group to root.ln
> Msg: 602: No permissions for this operation SET_STORAGE_GROUP
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)