[opencms-dev] problem with permissions

Christoph Kukulies kuku at physik.rwth-aachen.de
Mon Jul 14 15:10:03 CEST 2014


It turned out that the problem is not telated with certain roles the 
user has, moreover it also happens
when I do the database import as user Admin.

I'm getting:

Importing/galleries/content-e/Index-e.gif ... Exception 
org.opencms.file.CmsVfsResourceAlreadyExistsException: Error creating 
resource "/galleries/content-e/Index-e.gif" on path 
"/sites/company/galleries/content-e/Index-e.gif".
at 
org.opencms.file.CmsVfsResourceAlreadyExistsException.createException(CmsVfsResourceAlreadyExistsException.java:77)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:238)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:212)
at 
org.opencms.db.CmsSecurityManager.importResource(CmsSecurityManager.java:2638)
at 
org.opencms.file.types.A_CmsResourceType.importResource(A_CmsResourceType.java:495)
at 
org.opencms.file.types.CmsResourceTypeImage.importResource(CmsResourceTypeImage.java:341)

It may come from the fact that the target site is a copy of the intranet 
site.
Or what might lead to a CmsVfsResourceAlreadyExistsException ?
-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de


Am 11.07.2014 15:05, schrieb Christoph Kukulies:
> I'm having a little bit of a trouble with permissions of an OpenCMS 
> driven Internet site.
>
> As long as I was maintaining it (me as Admin with all rights) tere was 
> no problem. Now when I want to allow
> our secretary mate to do e.g. database exports fomr the Intranet site 
> and import them to the Internet site (yes, we have this
> bit clumsy configuration, but it has advantages security wise) I'm 
> running into trouble.
>
> First off:
>
> should I grant roles or would I better assign the user to groups?
> She should be able to import a database and publish the import.
>
> I have three sites. I gave her the role database manager and when 
> logging in the first time she couldn't see at all one of the three sites.
> Then to overcome the problems quickly, I added her to the Adminstrator 
> group.
>
> I'm seeing as a consequence that she has now the "root administaror 
> role" as well.
>
> How can I straighten up this? Also, what permissions would I best give 
> my sites from the root down?
>
> -- 
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> _




More information about the opencms-dev mailing list