[jbosstools-issues] [JBoss JIRA] (JBIDE-20257) Cannot create any new project via OpenShift Projects dialog
Jeff Cantrill (JIRA)
issues at jboss.org
Tue Jul 14 08:53:03 EDT 2015
[ https://issues.jboss.org/browse/JBIDE-20257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Cantrill resolved JBIDE-20257.
-----------------------------------
Resolution: Rejected
This is not a bug. This means the user does not have permissions to create projects. It requires someone to use the CLI to explicitly grant the appropriate permissions. [~adietish] this error is manifested to the user as a warning dialog, but this was my concern: is it clear enough to the user that they do not have permissions? I'm not sure if it makes more sense to provide a different dialog to the user ourselves or ask for a better error message from the server. We could also update the rest client to provide a friendlier message but I feel like that would be the wrong solution.
> 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)
More information about the jbosstools-issues
mailing list