Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServerAudit: use IsAdminUser property #9242

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

eszkadev
Copy link
Contributor

and set old is_admin inside UserExtraInfo as deprecated

TODO: SDK update so links will point to the content

@eszkadev eszkadev force-pushed the private/eszkadev/server-audit-improvements branch 2 times, most recently from abd0650 to 3ebd827 Compare June 10, 2024 18:38
eszkadev added a commit to eszkadev/richdocuments that referenced this pull request Jun 10, 2024
is_admin field inside UserExtraInfo is deprecated now.
We use dedicated IsAdminUser property in CheckFileInfo instead.
Leave old code for now for backward compatibility.

see: CollaboraOnline/online#9242

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
@eszkadev eszkadev force-pushed the private/eszkadev/server-audit-improvements branch 4 times, most recently from 72ed0c0 to 5861786 Compare June 11, 2024 10:57
@eszkadev eszkadev requested a review from caolanm June 11, 2024 12:33
Copy link
Contributor

@caolanm caolanm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks reasonable to me

eszkadev added a commit to eszkadev/richdocuments that referenced this pull request Jun 11, 2024
is_admin field inside UserExtraInfo is deprecated now.
We use dedicated IsAdminUser property in CheckFileInfo instead.
Leave old code for now for backward compatibility.

see: CollaboraOnline/online#9242

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
@eszkadev eszkadev force-pushed the private/eszkadev/server-audit-improvements branch from 5861786 to b943b83 Compare June 11, 2024 21:13
and set old is_admin inside UserExtraInfo as deprecated

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id6287798346c29e04adcf5c780c442e1edb8962a
- use app.isAdminUser for storing it
- use adminuser: message to pass it from the server
  which is sent before serveraudit: and after viewinfo:
- do not send server audit on every user joined and on
  document unload

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I993f34fc35d621bb83ead12f245541acdcb292a5
@eszkadev eszkadev force-pushed the private/eszkadev/server-audit-improvements branch from b943b83 to 6f273d3 Compare June 11, 2024 21:18
@eszkadev
Copy link
Contributor Author

it also fixes random failures in cpp tests caused by commit 1a0d289
Added API to send server audit information

backportbot bot pushed a commit to nextcloud/richdocuments that referenced this pull request Jun 12, 2024
is_admin field inside UserExtraInfo is deprecated now.
We use dedicated IsAdminUser property in CheckFileInfo instead.
Leave old code for now for backward compatibility.

see: CollaboraOnline/online#9242

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
backportbot bot pushed a commit to nextcloud/richdocuments that referenced this pull request Jun 12, 2024
is_admin field inside UserExtraInfo is deprecated now.
We use dedicated IsAdminUser property in CheckFileInfo instead.
Leave old code for now for backward compatibility.

see: CollaboraOnline/online#9242

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
backportbot bot pushed a commit to nextcloud/richdocuments that referenced this pull request Jun 12, 2024
is_admin field inside UserExtraInfo is deprecated now.
We use dedicated IsAdminUser property in CheckFileInfo instead.
Leave old code for now for backward compatibility.

see: CollaboraOnline/online#9242

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
@eszkadev eszkadev merged commit f48321a into master Jun 12, 2024
14 of 15 checks passed
@eszkadev eszkadev deleted the private/eszkadev/server-audit-improvements branch June 12, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants