Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set global addressbook as default #49

Closed
drlight17 opened this issue Aug 21, 2019 · 6 comments
Closed

Set global addressbook as default #49

drlight17 opened this issue Aug 21, 2019 · 6 comments

Comments

@drlight17
Copy link

Hi. Is there any way to set created global address book as default in the list of contact groups?

@johndoh
Copy link
Owner

johndoh commented Aug 21, 2019

what exactly do you by "default"?

@drlight17
Copy link
Author

I mean selected when user come to the page "Contacts". There are Personal and collected contact groups besides the Global. When user without admin priveleges tries to select default (selected) group, there is no option to set Global address book. But when the admin user does this - Global option appears.

@johndoh
Copy link
Owner

johndoh commented Aug 22, 2019

Write access to the global address book is controlled by the config params globaladdressbook_perms and globaladdressbook_admin. You can choose if everyone has write access or only admins.

@drlight17
Copy link
Author

Users must have read only permissions on global addressbook. But why they can't set global adressbook as default addressbook? There is no option to choose it. Only admin can set global adressbook as his default addressbook.

@johndoh
Copy link
Owner

johndoh commented Aug 22, 2019

Only writable address books can be defined as default_addressbook. I think this is because this setting is used for things like which address book a contact should be added to when you click on "Add to address book" when viewing an email.

@johndoh johndoh closed this as completed Aug 22, 2019
@TBG-FR
Copy link

TBG-FR commented Jul 11, 2023

I'm late to the party, but I tried adding $config['default_addressbook'] = 'global' inside my roundcube configuration and it works, even for users with read-only permissions

Maybe that would be worth a line in the README ? 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants