Hi Bob,
There's a specific permission based for user.
if you need just to hide this tab you can use a javascript.
Go to Confluence Admin -> Custom HTML and add the following script :
<script> jQuery().ready(function() { jQuery("#people-directory-link").hide(); }); </script>
Regards,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would prefer CSS and Confluence Admin > Global Stylesheet for this purpose in order to avoid bloating my installation with JavaScript code that is executed on DomReady:
#people-directory-link { display: none; }
Also note that jQuery.hide does an asynchronous animation in the background. If you want to stick to your JS solution, I would definitely prefer:
AJS.toInit(function($) { $('#people-directory-link').addClass('hidden'); });
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To prevent people to call the url:
<script> AJS.toInit(function($) { $('#people-directory-link').addClass('hidden'); }); if (document.URL.indexOf("browsepeople.action") > -1) window.location.href="/"; </script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Roman, Please confirm where to apply your custom script to disable "people area". is it "head section" in Custom HTML? or somehwer else? Thanks in advance Tomek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Tomasz, not that this is only preventing to access the page in the Browser. You still can access the people tab by e.g. turning Javascript off or using cURL. But exactly, simply add this in Custom HTML in the head section. Greets from Munich, Roman (adabay GmbH)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.