Re: [SOGo] Disable Mail in WebUI

2012-04-21 Thread javi
Hi,

as I am using MySQL and not LDAP, I have hidden the Mail module in the WebUI
just by adding

#mailBannerLink {
 display: none;
}

at the end of the file
/usr/lib/GNUstep/SOGo/WebServerResources/generic.css

Just in case it is useful for somebody else.

Regards
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Disable Mail in WebUI

2011-06-29 Thread Martin Lehmann

Yes, you can use constraints for this. See documentation.

Example:

ModulesConstraints = {
Calendar = {
attr1 = 1;
};
Contacts = {
attr2 = 1;
};
Mail = {
attr3 = 1;
};
};


Am 29.06.2011 20:35, schrieb Ronald J. Yacketta:

Hello all!

Is it possible disable Mail in the WebUI or have the Mail link 
redirect to our Squirrel Mail?
We currently have a heavily modified Squirrel Mail implementation 
which would more than likely be a PITA to get into SOGo.


-Ron

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Disable Mail in WebUI

2011-06-29 Thread Ronald J. Yacketta

With
keyuid/key
stringxyacket2/string

sogotest can see/use Mail

with

keyuid/key
stringsogotest/string

sogotest and see/use mail

what am I missing :)

-Ron
On 29-Jun-11 15:21, Ronald J. Yacketta wrote:

This _should_ restrict access to Mail to uid = xyacket2  correct??

keyModulesConstraints/key
dict
keyMail/key
dict
keyuid/key
stringxyacket2/string
/dict
/dict

If so, I must be doing something wrong. When I login with a uid of 
sogotest I still see Mail.


-Ron
On 29-Jun-11 14:53, Martin Lehmann wrote:

Yes, you can use constraints for this. See documentation.

Example:

ModulesConstraints = {
Calendar = {
attr1 = 1;
};
Contacts = {
attr2 = 1;
};
Mail = {
attr3 = 1;
};
};


Am 29.06.2011 20:35, schrieb Ronald J. Yacketta:

Hello all!

Is it possible disable Mail in the WebUI or have the Mail link 
redirect to our Squirrel Mail?
We currently have a heavily modified Squirrel Mail implementation 
which would more than likely be a PITA to get into SOGo.


-Ron




--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Disable Mail in WebUI

2011-06-29 Thread Ronald J. Yacketta

Got it working, any option other than ou= People did nothing :(

Also changed SOGoLoginModule to Calendar and noticed that my sogotest 
account always tried to access Mail due to the preference being set to 
use last module. Is there a way to update the DB so that the preference 
is Calendar?


-Ron
On 29-Jun-11 15:33, Ronald J. Yacketta wrote:

With
keyuid/key
stringxyacket2/string

sogotest can see/use Mail

with

keyuid/key
stringsogotest/string

sogotest and see/use mail

what am I missing :)

-Ron
On 29-Jun-11 15:21, Ronald J. Yacketta wrote:

This _should_ restrict access to Mail to uid = xyacket2  correct??

keyModulesConstraints/key
dict
keyMail/key
dict
keyuid/key
stringxyacket2/string
/dict
/dict

If so, I must be doing something wrong. When I login with a uid of 
sogotest I still see Mail.


-Ron
On 29-Jun-11 14:53, Martin Lehmann wrote:

Yes, you can use constraints for this. See documentation.

Example:

ModulesConstraints = {
Calendar = {
attr1 = 1;
};
Contacts = {
attr2 = 1;
};
Mail = {
attr3 = 1;
};
};


Am 29.06.2011 20:35, schrieb Ronald J. Yacketta:

Hello all!

Is it possible disable Mail in the WebUI or have the Mail link 
redirect to our Squirrel Mail?
We currently have a heavily modified Squirrel Mail implementation 
which would more than likely be a PITA to get into SOGo.


-Ron






--
users@sogo.nu
https://inverse.ca/sogo/lists