[xwiki-users] Include macro permission issue though page is accessible

2014-11-26 Thread D R
Hi all,

I have a strange issue on XWiki 6.3 (Windows Server 2003 R2, Apache 2.4,
MySQL 5, Tomcat 7).

On a subwiki main page I added the include macro to display the contents of
a page on the main wiki (an info box that should appear on all subwikis).
The macro works logged in as the admin user but normal users (authenticated
from LDAP) get a permission issue:

Current user [xwiki:XWiki.USERNAME] doesn't have view rights on document
[XWiki:Main.Info in allen Wikis]

I have the same include macro on the main wiki main page and there it works
for all users. The user can also access the page referenced in the macro.
Only on the subwiki it doesn't work.
Permissions are set correctly though and everything else works.

Hope someone can lead me in the right direction.

Thanks in advance,
Dennis
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Include macro permission issue though page is accessible

2014-11-26 Thread Marius Dumitru Florea
On Wed, Nov 26, 2014 at 1:18 PM, D R rir@gmail.com wrote:
 Hi all,

 I have a strange issue on XWiki 6.3 (Windows Server 2003 R2, Apache 2.4,
 MySQL 5, Tomcat 7).

 On a subwiki main page I added the include macro to display the contents of
 a page on the main wiki (an info box that should appear on all subwikis).
 The macro works logged in as the admin user but normal users (authenticated
 from LDAP) get a permission issue:


 Current user [xwiki:XWiki.USERNAME] doesn't have view rights on document
 [XWiki:Main.Info in allen Wikis]

Can you paste the line where you use the include macro? The XWiki
part in the XWiki:Main.Info in allen Wikis reference is strange.
Should probably be xwiki instead (lower case).


 I have the same include macro on the main wiki main page and there it works
 for all users. The user can also access the page referenced in the macro.
 Only on the subwiki it doesn't work.
 Permissions are set correctly though and everything else works.

 Hope someone can lead me in the right direction.

 Thanks in advance,
 Dennis
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Include macro permission issue though page is accessible

2014-11-26 Thread D R
Sometimes it's the small things. Using the wiki reference lowercase did the
trick, thanks :)

2014-11-26 15:44 GMT+01:00 Marius Dumitru Florea 
mariusdumitru.flo...@xwiki.com:

 On Wed, Nov 26, 2014 at 1:18 PM, D R rir@gmail.com wrote:
  Hi all,
 
  I have a strange issue on XWiki 6.3 (Windows Server 2003 R2, Apache 2.4,
  MySQL 5, Tomcat 7).
 
  On a subwiki main page I added the include macro to display the contents
 of
  a page on the main wiki (an info box that should appear on all subwikis).
  The macro works logged in as the admin user but normal users
 (authenticated
  from LDAP) get a permission issue:
 

  Current user [xwiki:XWiki.USERNAME] doesn't have view rights on document
  [XWiki:Main.Info in allen Wikis]

 Can you paste the line where you use the include macro? The XWiki
 part in the XWiki:Main.Info in allen Wikis reference is strange.
 Should probably be xwiki instead (lower case).

 
  I have the same include macro on the main wiki main page and there it
 works
  for all users. The user can also access the page referenced in the macro.
  Only on the subwiki it doesn't work.
  Permissions are set correctly though and everything else works.
 
  Hope someone can lead me in the right direction.
 
  Thanks in advance,
  Dennis
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users