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

[lipstick] Support storing privileged source of notifications. JB#60924 #47

Merged
merged 2 commits into from Dec 13, 2023

Conversation

pvuorela
Copy link
Contributor

Introducing a separate hint set for internal properties. Ensuring that they never get even by accident over D-Bus.

Used that to store whether the source of the notification is a process with privileged group and to indicate that a notification action can be trusted.

Notification database version schema not bumped as this didn't change any existing table.

Copy link
Member

@Tomin1 Tomin1 left a comment

Choose a reason for hiding this comment

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

One comment. Otherwise looks good.

src/notifications/notificationmanager.cpp Outdated Show resolved Hide resolved
Introducing a separate hint set for internal properties. Ensuring
that they never get even by accident over D-Bus.

Used that to store whether the source of the notification is a process
with privileged group and to indicate that a notification action can be
trusted.

Notification database version schema not bumped as this didn't change
any existing table.
These are already quite a mouthful and lead to problems by being
unreadable.
@pvuorela pvuorela force-pushed the privileged_notification_source branch from b6bf4e9 to 5ba0b65 Compare December 13, 2023 07:19
@pvuorela pvuorela merged commit 3c3c208 into master Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants