sftpgo/dataprovider
Nicola Murino b64d3c2fbf
simplify rename permission
before this patch we allow a rename in the following cases:

- the user has rename permission on both source and target path
- the user has delete permission on source path and create/upload on
  target path

we now check only the rename/rename_files/rename_dirs permissions.
This is what SFTPGo users expect.

This is a backward incompatible change and it will not backported to
the 2.2.x branch

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-02-26 12:19:09 +01:00
..
actions.go make the sdk a separate module 2022-01-06 11:54:43 +01:00
admin.go dataprovider: add naming rules 2022-01-31 18:01:37 +01:00
apikey.go change log level from warn to error where appropriate 2021-12-16 19:53:00 +01:00
bolt.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00
bolt_disabled.go dataprovider: add timestamp fields for users and admins 2021-08-19 15:51:43 +02:00
cachedpassword.go OpenAPI: add users API 2021-06-05 16:07:09 +02:00
cacheduser.go data provider: update internal caches if the data provider is shared 2021-08-20 09:35:06 +02:00
dataprovider.go allow to cache external authentications 2022-02-25 11:51:10 +01:00
memory.go dataprovider: add naming rules 2022-01-31 18:01:37 +01:00
mysql.go data provider: add config options for certs validation/authentication 2022-01-30 18:04:03 +01:00
mysql_disabled.go dataprovider: add timestamp fields for users and admins 2021-08-19 15:51:43 +02:00
pgsql.go data provider: add config options for certs validation/authentication 2022-01-30 18:04:03 +01:00
pgsql_disabled.go dataprovider: add timestamp fields for users and admins 2021-08-19 15:51:43 +02:00
quotaupdater.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00
share.go shares: add permission to deny sharing without password 2022-02-19 13:31:58 +01:00
sqlcommon.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00
sqlite.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00
sqlite_disabled.go dataprovider: add timestamp fields for users and admins 2021-08-19 15:51:43 +02:00
sqlqueries.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00
user.go simplify rename permission 2022-02-26 12:19:09 +01:00