About email hosting
- saviorhost
- Posts: 59
- Joined: Sun 11. Jan 2026, 13:51
- Location: Turkiye
- Contact:
About email hosting
Re: About email hosting
you can just remove all permissions you don't need for your users (User Administration -> Tab Resources + Permissions) and keep only the email permissions.
Additionally, you can hide navigation elements you don't need with the white-label feature.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: About email hosting
In my experience removing item ID X for user removes something completely different for admin (same ID but different item).
Or am I doing this in wrong way.
Re: About email hosting
Code: Select all
$(function () {
// --- Configuration ---------------------------------------------------
// Users the restrictions apply to
var restrictedUsers = [
'my-username-1',
'my-username-2'
];
// Whole menu groups (value of data-group)
var removeGroups = [
'resources'
];
// Single menu entries, matched by a substring of the href
var removeLinks = [
'page=whois'
];
// --- Logic -----------------------------------------------------------
var currentUser = $('#app-user-menu-toggle ul.horizontal-separated-list li')
.last()
.text()
.trim();
if ($.inArray(currentUser, restrictedUsers) === -1) {
return;
}
var $nav = $('#sidebar-navigation');
// Remove groups
$.each(removeGroups, function (i, group) {
$nav.find('.menu-label[data-group="' + group + '"]')
.closest('.app-menu-group')
.remove();
});
// Remove single entries
$.each(removeLinks, function (i, needle) {
$nav.find('.menu-list a').filter(function () {
return ($(this).attr('href') || '').indexOf(needle) !== -1;
}).closest('li').remove();
});
// Clean up groups that have no entries left
$nav.find('.app-menu-group').each(function () {
if ($(this).find('.menu-list li').length === 0) {
$(this).remove();
}
});
});Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: About email hosting
Code: Select all
'my-username-1'
'my-username-2'Re: About email hosting
Code: Select all
'my-username-1',
'my-username-2'Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: About email hosting
Now, I get it for page=XYZ but how about Database Web Interface under "Tools" that is just link to /db/ ?
Re: About email hosting
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************