Restrict libraries from sharing links

Hi

Is it possible to restrict a library, so that user cannot create shared links?

thks

No, don’t think so.

Sven

You can, it is controlled by the user permissions, look here

That restricts users from creating share links for any library.

You are right @shoeper - if i think about it, it makes not really sense to forbid a user to create shared links, because he can download and share the files anyway.

I think it depends.

When I’m working at a company and there is a share link option I use it is ok - or at least it’ll be much harder for the company to argue against it. When I upload the file to Dropbox this is very likely against my contract.

Hi, I configured the seahub_settings.py file with Roles and Permissions Support features because I don’t want generate shared or upload links with clients, but it doesn’t work. It stills show these links in Seafile and Seadrive.
Does it only work with professional version?

ENABLED_ROLE_PERMISSIONS = {
‘default’: {
‘can_add_repo’: True,
‘can_add_group’: True,
‘can_view_org’: True,
‘can_use_global_address_book’: True,
‘can_generate_share_link’: False,
‘can_generate_upload_link’: False,
‘can_invite_guest’: False,
‘can_connect_with_android_clients’: True,
‘can_connect_with_ios_clients’: True,
‘can_connect_with_desktop_clients’: True,
‘role_quota’: ‘’,
},
‘guest’: {
‘can_add_repo’: False,
‘can_add_group’: False,
‘can_view_org’: False,
‘can_use_global_address_book’: False,
‘can_generate_share_link’: False,
‘can_generate_upload_link’: False,
‘can_invite_guest’: False,
‘can_connect_with_android_clients’: False,
‘can_connect_with_ios_clients’: False,
‘can_connect_with_desktop_clients’: False,
‘role_quota’: ‘’,
}
}

Yes you need the pro edition for this feature.

Ok, thanks you Marcus