Skip to content

Group permission on public mail folder is not applied due to special characters in full name #7775

@mrmarkuz

Description

@mrmarkuz

When the full name of a user from an external user domain contains a special character like "á", the group permission is not applied to a public mail folder.

For internal user domains, usernames with special chars are not allowed in the UI.

Note:

For internal samba user domain the username is shown when listing the groups whereas for external user domains the full name is shown:

Internal user domain shows username like "markus":

[root@node ~]# api-cli run cluster/list-domain-groups --data '{"domain":"ad.nst.at"}'
{"groups": [{"group": "group1", "description": "", "users": ["markus"]}]}

External user domain shows full name like "Márkus Neuberger":

[root@node ~]# api-cli run cluster/list-domain-groups --data '{"domain":"external.user.domain"}'
{"groups": [{"group": "marketing", "description": "", "users": ["M\u00e1rtin Meier2", "Andi", "M\u00e1rkus Neuberger"]}]}
Image

Steps to reproduce

  • On a Windows server create a user with a full name containing a special character like "á"
  • Add that user to a group
  • Add the external user domain of the Windows server to the NS8
  • Create a public mail folder
  • Assign the group to the public mail folder
  • Login to a mail client like Roundcube and try to access the public folder

Expected behavior

  • The user in the assigned group can access the public mail folder

Actual behavior

  • The user has no permission to access the public mail folder

Components

Core 3.15.0
Mail 1.7.4

See also

https://community.nethserver.org/t/public-mailbox-access-by-user-group/26672/3?u=mrmarkuz


Thanks to Károly Nagy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    ToDo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions