mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-18 06:11:20 +00:00
feat(preferences): Add SOGoCreateIdentitiesDisabled domain option which disables identity creation for users in preferences
This commit is contained in:
1 parent
5500ce7085
commit
af6202bee6
6 files changed
+126
-24
No files matched your search
@@ -66,6 +66,20 @@
|
||||
return [dd mailCertificateEnabled];
|
||||
}
|
||||
|
||||
- (BOOL) showCreateIdentity
|
||||
{
|
||||
SOGoDomainDefaults *dd;
|
||||
|
||||
dd = [[context activeUser] domainDefaults];
|
||||
|
||||
return ![dd createIdentitiesDisabled];
|
||||
}
|
||||
|
||||
- (BOOL) hideCreateIdentity
|
||||
{
|
||||
return ![self showCreateIdentity];
|
||||
}
|
||||
|
||||
- (BOOL) _validateFilterId
|
||||
{
|
||||
NSCharacterSet *digits;
|
||||
|
||||
Reference in new issue
Block a user