[SOGo] modulesconstraints example

2012-10-26 Thread mourik jan heupink

Hi,

Could anyone show me a working ldap usersource using ModulesConstraints 
to hide (for example) the calendar?


Finalle managed to get the following in my config using defaults 
write..., but it doesn't have any effect...


keySOGoUserSources/key
  array
   dict
   keyCNFieldName/key
   stringcn/string
   keyIDFieldName/key
   stringcn/string
   keyIMAPHostFieldName/key
   stringlocalhost/string
   keyModulesConstraints/key
   string{Calendar = { objectClass = nonExistingClass;};}/string
   keyUIDFieldName/key
   stringuid/string
   keybaseDN/key
   stringdc=example,dc=org/string
   keybindFields/key
   stringuid/string
   keycanAuthenticate/key
   stringYES/string
   keydisplayName/key
   stringInternal Addresses/string
   keyhostname/key
   stringservername/string
   keyid/key
   stringshared/string
   keyisAddressBook/key
   stringYES/string
   keyport/key
   string389/string
   keyscope/key
   stringSUB/string
   /dict
  /array
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] ModulesConstraints

2012-05-30 Thread Pablo Barrachina

Is ModulesConstraints still unavailable with SQL autentication?

Many thanks
Pablo
Digital Value
 
On 11-02-21 11:39 AM, Christian Reischl wrote:



is it possible to use ModulesConstraints with SQL Authentication?



I want to restrict mail module access to a small number of user ids.



That feature is currently not available for SQL sources.



Regards,



--

Ludovic Marcotte

lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca

Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 

(www.packetfence.org)



--

users@sogo.nu

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

Re: [SOGo] ModulesConstraints

2012-05-30 Thread Ludovic Marcotte

On 30/05/12 17:54, Pablo Barrachina wrote:



  Is ModulesConstraints still unavailable with SQL autentication?


Indeed it is.

--
Ludovic Marcotte
+1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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

Re: [SOGo] ModulesConstraints

2011-02-15 Thread Francis Lachapelle
Hi Dietmar

On Nov 3, 2010, at 4:09 AM, Dietmar Wolf wrote:

 ModulesConstraints are not working on Contacts as expected.
 
 We want to achieve that Mail and Contacts are allowed for Employees only.
 
 Sample output of:
 
 .GNUstepDefaults
 
 SOGoUserSources = ( ...
 
ModulesConstraints = {
Contacts = {
employeeType = Employee;
};
Mail = {
employeeType = Employee;
};
};
 ...)
 
 think this should disable the contacts module, but the entry Adressbuch 
 (address book) is still visible (see screen shot attached to this mail).

The bug is actually in the documentation. You can't define a constraint on the 
Contacts module. Contacts can't be hidden.


Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

Re: [SOGo] ModulesConstraints

2011-02-15 Thread Alessio Fattorini

Il 14/02/2011 23:37, Francis Lachapelle ha scritto:


think this should disable the contacts module, but the entry Adressbuch 
(address book) is still visible (see screen shot attached to this mail).


The bug is actually in the documentation. You can't define a constraint on the 
Contacts module. Contacts can't be hidden.


Do you can fix this? Can i feel a bug? My customer wants to show only Calendar 
module.

--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] ModulesConstraints

2011-02-14 Thread Alessio Fattorini

Il 03/11/2010 09:09, Dietmar Wolf ha scritto:


think this should disable the contacts module, but the entry Adressbuch 
(address book) is still
visible (see screen shot attached to this mail).


I confirm. Should be a bug, can you feel it? If I use Calendar or Mail works, if i use Contacts 
doesn't works.



ModulesConstraints = \{
Calendar = \{
uid = admin;
\};
Mail = \{
uid = admin;
\};
\};

It works and i have only Contacts. If i substitute Calendar or Mail with Contacts, i see Contacts 
module (with user  admin)

Bye

--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists