As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
org.alfresco.repo.security.authority.UnknownAuthorityException: 01010007 An authority was not found for GROUP_site_siteb_SiteManager
result = remote.call('/api/sites?');
Renaming a Site is -as you've discovered- unsupported currently. You can rename the Site's name and description through the Share UI, but not the URL. More importantly, modifying ANY Site parameter via the Explorer ("/alfresco") web client is very risky and can cause all sorts of problems; which is why we present the yellow warning banner across that client when browsing within the Sites space or subspaces. Having said that, you could probably programatically rename the existing Site groups if you did want to rename a Site's shortName, however we really wouldn't recommend this.
I found the same error on my stacktrace renaming site via CIFS (Alfresco 3.3 Community).Steps to Reproduce:* Log into Share as any user* Create new Site, with Title = New Site, URL = newsite, PUBLIC* Log in to alfresco CIFS as admin* Go to Sites folder* Rename folder "newsite" to "newersite"* Log into Share as admin and* Go to "search sites" form and click search buttonjava backtrace for programmers:———-……….Caused by: org.alfresco.repo.security.authority.UnknownAuthorityException: 07050041 An authority was not found for GROUP_site_newersite_SiteManagerat org.alfresco.repo.security.authority.AuthorityDAOImpl.getContainedAuthorities(AuthorityDAOImpl.java:412)
I'm guessing it's you who has just raised this in JIRA as a "critical" bug: http://issues.alfresco.com/jira/browse/ALFCOM-3800I'll paste my response here: Renaming a Site is -as you've discovered- unsupported currently. You can rename the Site's name and description through the Share UI, but not the URL. More importantly, modifying ANY Site parameter via the Explorer ("/alfresco") web client is very risky and can cause all sorts of problems; which is why we present the yellow warning banner across that client when browsing within the Sites space or subspaces. Having said that, you could probably programatically rename the existing Site groups if you did want to rename a Site's shortName, however we really wouldn't recommend this.Whether you *should* be able to change a Site's url is debatable: all existing links to content within that site (whether on an external system or simply bookmarked by your users) will break. If you really must be able to change the URLs frequently, I'd suggest proxying Share's Tomcat server with an Apache server; that way you can introduce rewrite rules to modify the URL as you wish without having to worry about any other factors.Thanks,Mike
Hi mrogersI get the same error when I create some custom roles on existing sites via sitePermissionDefinitions.xml. I know it may not related to the same issue which was discussed here but thought worth raising it up.Every time this happens I have to delete the whole site and re-import my data and it all works fine after that. About to report it as a bug because I cant find any relevant information regarding this. Any thoughts of yours will be greatly appreciated.Thanks
There will be no changes unless they are logged in JIRA. Please make sure your issue is in JIRA, or even better contribute an enhancement.