server icon indicating copy to clipboard operation
server copied to clipboard

Audit log for admin setting changes

Open MorrisJobke opened this issue 7 years ago • 4 comments

It would be useful to log when which administrator changed a setting. For example the "password policy": when did a change to "1 character is required only" was done.

Would a simple "listen to all config changes" hook work here? Or is this overkill?

cc @nickvergessen @blizzz @rullzer

MorrisJobke avatar Nov 23 '18 12:11 MorrisJobke

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/1261 (force password change for all users by admin), https://github.com/nextcloud/server/issues/3777 (Change of user passwords by admin fails), https://github.com/nextcloud/server/issues/8778 (Log in as user as Admin), https://github.com/nextcloud/server/issues/9191 (Change own quota as group admin), and https://github.com/nextcloud/server/issues/5399 (Group admin cannot change settings in user management).

nextcloud-bot avatar Nov 23 '18 12:11 nextcloud-bot

I think we should do specific hooks in the password_policy app

nickvergessen avatar Nov 23 '18 12:11 nickvergessen

Would a simple "listen to all config changes" hook work here? Or is this overkill?

Could be overkill, when background jobs set markers. Could be filtered out on CLI, but perhaps not so easily on Ajax.

Changes on the config.php would not be caught when they are done manually in the file. Leaves appconfig. User preferences is again difficult.

Firing dedicated hooks is more fine-grained, but also more error prone (as in easy to be forgotten) on changes and new features.

blizzz avatar Nov 23 '18 13:11 blizzz

I suppose this issue is still valid? If not, please close this issue!

szaimen avatar May 26 '21 08:05 szaimen