mirror of
https://github.com/knadh/listmonk.git
synced 2025-09-16 19:34:51 +08:00
This patch introduces new `campaigns:get_all` and `campaigns:manage_all` permissions which alter the behaviour of the the old `campaigns:get` and `campaigns:manage` permissions. This is a subtle breaking behavioural change. Old: - `campaigns:get` -> View all campaigns irrespective of a user's list permissions. - `campaigns:manage` -> Manage all campaigns irrespective of a user's list permissions. New: - `campaigns:get_all` -> View all campaigns irrespective of a user's list permissions. - `campaigns:manage_all` -> Manage all campaigns irrespective of a user's list permissions. - `campaigns:get` -> View only the campaigns that have at least one list to which which a user has get or manage access. - `campaigns:manage` -> Manage only the campaigns that have at list one list to which a user has get or manage access. In addition, this patch refactors and cleans up certain permission related logic and functions. |
||
---|---|---|
.. | ||
v0.4.0.go | ||
v0.7.0.go | ||
v0.8.0.go | ||
v0.9.0.go | ||
v1.0.0.go | ||
v2.0.0.go | ||
v2.1.0.go | ||
v2.2.0.go | ||
v2.3.0.go | ||
v2.4.0.go | ||
v2.5.0.go | ||
v3.0.0.go | ||
v4.0.0.go | ||
v4.1.0.go | ||
v5.0.0.go |