Mike Jakubik wrote:
Hi,
I've recently updated my Xwiki using the same process as always, however
some Administration pages are showing the following error at the bottom now.
---
Customize XWiki.RegistrationConfig:
This configuration cannot be displayed because it was last edited by
Admin who doesn't have permission to edit this page.
---
---
Annotations
Customize AnnotationCode.AnnotationConfig:
This configuration cannot be displayed because it was last edited by
Admin who doesn't have permission to edit this page.
---
There is no user Admin, so i'm not sure where it's getting this from. My
account is the only Admin in the wiki. Is the import process somehow
trying to use "Admin" ?
To get this working simply edit XWiki.RegistrationConfig and
AnnotationCode.AnnotationConfig
so they are saved with your user name.
As you probably know, there is an Admin user by default and because (I assume) you deleted
him
doing tests for his permissions shows that he has none.
The reason you get these messages is because pages are dynamically pulled in to the
administration
interface if they contain objects of the ConfigurableClass. If the author of the document
is not
an administrator then you are warned and the action is stopped so that people couldn't
spam your
administration interface by creating pages with ConfigurableClass objects.
If you import with BackupPack set to false then you will become the editor of the imported
files
rather than "Admin".
In the future we may have to think about what should happen if a document is imported and
the author
doesn't exist in the system.
Caleb
Thanks.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users