# Search only available for Admins?

**URL:** <https://forum.xwiki.org/t/search-only-available-for-admins/2401>\
**Category:** Help / Discuss\
**Tags:** search, rights\
**Created:** [January 12, 2018, 10:26pm UTC](https://forum.xwiki.org/t/search-only-available-for-admins/2401 "2018-01-12T22:26:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JDavid](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@JDavid](https://forum.xwiki.org/u/JDavid)\
**Post date:** [January 12, 2018, 10:26pm UTC](https://forum.xwiki.org/t/search-only-available-for-admins/2401/1 "2018-01-12T22:26:30Z")

</div>

I am new to XWiki, but it seems that only Admins have access to use “Programs”, so no standard user can search. I have tried Solr, Lucerne and Database. Nothing seems to work. Please help.

---

<div class="post-metadata">

**Author:** ![mflorea](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mflorea/32/49_2.png) [@mflorea](https://forum.xwiki.org/u/mflorea)\
**Post date:** [January 15, 2018, 12:55pm UTC](https://forum.xwiki.org/t/search-only-available-for-admins/2401/2 "2018-01-15T12:55:04Z")

</div>

> [@JDavid](#):
>
> no standard user can search

There is a search input on the top bar that is normally visible to all users. Are you saying that your standard users don’t see this input? Did you delete or move the “Main” top level page that appears in the navigation panel? The search feature is relying on some child pages of this Main page so if you did any changes there then there’s a chance you broke the search.

---

<div class="post-metadata">

**Author:** ![JDavid](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@JDavid](https://forum.xwiki.org/u/JDavid)\
**Post date:** [January 15, 2018, 6:23pm UTC](https://forum.xwiki.org/t/search-only-available-for-admins/2401/3 "2018-01-15T18:23:23Z")

</div>

The standard users see the search bar but they get the error "Failed to execute the [include] macro. Cause: [Current user [xwiki:(user)] doesn’t have rights on document. They also cannot see the nav pane. Only admins can.

---

<div class="post-metadata">

**Author:** ![JDavid](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@JDavid](https://forum.xwiki.org/u/JDavid)\
**Post date:** [January 15, 2018, 6:29pm UTC](https://forum.xwiki.org/t/search-only-available-for-admins/2401/4 "2018-01-15T18:29:30Z")

</div>

Also I have tried all of the combinations of the rights for groups and users, it’s has only come to an all or nothing switch between admin and standard. Admins have everything, standards have nothing, even with everything default.

---

<div class="post-metadata">

**Author:** ![JDavid](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@JDavid](https://forum.xwiki.org/u/JDavid)\
**Post date:** [January 15, 2018, 6:30pm UTC](https://forum.xwiki.org/t/search-only-available-for-admins/2401/5 "2018-01-15T18:30:52Z")

</div>

Sorry still reading all of this, the search works fine for admins

---

<div class="post-metadata">

**Author:** ![mflorea](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mflorea/32/49_2.png) [@mflorea](https://forum.xwiki.org/u/mflorea)\
**Post date:** [January 16, 2018, 9:59am UTC](https://forum.xwiki.org/t/search-only-available-for-admins/2401/6 "2018-01-16T09:59:17Z")

</div>

> [@JDavid](#):
>
> "Failed to execute the [include] macro. Cause: [Current user [xwiki:(user)] doesn’t have rights on document

This means you have set access rights that prevent simple users from accessing the wiki pages that provide the search feature. These pages are located under the “Main” page. You should check the access rights settings for this page and its children.

---

<div class="post-metadata">

**Author:** ![JDavid](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@JDavid](https://forum.xwiki.org/u/JDavid)\
**Post date:** [January 16, 2018, 3:33pm UTC](https://forum.xwiki.org/t/search-only-available-for-admins/2401/7 "2018-01-16T15:33:23Z")

</div>

You are right, I figured it out. Thank you so much for your help! I am still trying to figure out how to “section off” different pages for different levels of users. Thanks!
