[
https://issues.jboss.org/browse/JBIDE-20257?page=com.atlassian.jira.plugi...
]
Jeff Cantrill commented on JBIDE-20257:
---------------------------------------
This error says you do not have the permissions to perform the operation, not that you are
unauthorized. You should be able to replicate the behavior from the CLI by making a
project JSON and trying to create it like 'oc create -f <file>'
{code}
{
"kind": "Project",
"apiVersion": "v1",
"metadata": {
"name": "test",
},
}
{code}
Cannot create any new project via OpenShift Projects dialog
-----------------------------------------------------------
Key: JBIDE-20257
URL:
https://issues.jboss.org/browse/JBIDE-20257
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.0.Beta2
Reporter: Marián Labuda
Assignee: Jeff Cantrill
Priority: Blocker
Fix For: 4.3.0.Beta2
In OpenShift Projects dialog opened via context menu of a v3 application, it is not
possible to create a new project. There is a error that project is trying to be created in
cluster scope. See full error description below:
{code}
Could not create project "project01dsa": User "demo" cannot create
projects at the cluster scope
com.openshift.restclient.authorization.ResourceForbiddenException: User "demo"
cannot create projects at the cluster scope
at
com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:393)
at com.openshift.internal.restclient.DefaultClient.create(DefaultClient.java:185)
at com.openshift.internal.restclient.DefaultClient.create(DefaultClient.java:169)
at
org.jboss.tools.openshift.core.connection.Connection.createResource(Connection.java:316)
at
org.jboss.tools.openshift.internal.ui.wizard.project.NewProjectWizardModel.createProject(NewProjectWizardModel.java:55)
at
org.jboss.tools.openshift.internal.ui.wizard.project.NewProjectWizard$1.doRun(NewProjectWizard.java:46)
at
org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}
This is happening also on locally running OpenShift v3 and also on staging v3 server.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)