[jboss-jira] [JBoss JIRA] (WFWIP-234) oc scale wildflyserver throws Permissions error with regular user

Jeff Mesnil (Jira) issues at jboss.org
Thu Oct 10 06:31:01 EDT 2019


     [ https://issues.jboss.org/browse/WFWIP-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil updated WFWIP-234:
------------------------------
    Workaround Description: Do no use the oc scale operation but edit the WildFlyServer resource instead.
                Workaround: Workaround Exists


> oc scale wildflyserver throws Permissions error with regular user
> -----------------------------------------------------------------
>
>                 Key: WFWIP-234
>                 URL: https://issues.jboss.org/browse/WFWIP-234
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: OpenShift
>            Reporter: Petr Kremensky
>            Assignee: Jeff Mesnil
>            Priority: Critical
>              Labels: operator
>
> Trying to use {{oc scale}} command using a regular users (non-admin) fails with permissions error:
> {code}
> oc scale --replicas=2 wildflyserver quickstart 
> Error from server (Forbidden): wildflyservers.wildfly.org "quickstart" is forbidden: User "developer" cannot get resource "wildflyservers/scale" in API group "wildfly.org" in the namespace "eap-operator"
> {code}
> thou I'm able to change the wildflyserver (edit number of replicas in yaml) resource via web console without trouble.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list