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

Timing out permissions #325

Open
matthiasclasen opened this issue May 17, 2019 · 2 comments
Open

Timing out permissions #325

matthiasclasen opened this issue May 17, 2019 · 2 comments
Labels
enhancement new api This requires adding API to an existing portal permissions Issues and feature requests related to permissions

Comments

@matthiasclasen
Copy link
Contributor

One idea that has come up repeatedly in design discussions around portals and permission uis is to 'time out' permissions that were granted after a period of non-use.

For example, if you grant your web browser permission to use the webcam, and you use it every day for video conferencing, we don't want to ask you again a week later. But if you once needed to scan in some receipt, and a year later the homebanking app tries to turn on your webcam again, we do want to ask again.

To implement this, we need to keep mtime and atime equivalents for permissions. This could mostly be handled in the permission store itself, but unfortunately, we have api that hands out entire tables without a chance for us to know which row was actually accessed, so this needs some rethinking.

@Mikenux
Copy link

Mikenux commented Aug 29, 2023

Alternatively, have a camera portal that allows selecting the camera device with the option to always use that device? Also, maybe have the option of a UX focused on disabling permission rather than re-requesting, e.g. in GNOME there is an indicator (at least shown in mockups), but it could be more obvious, like showing a notification.

Which other portals are concerned?

@GeorgesStavracas GeorgesStavracas moved this to Needs Triage in Triage Oct 2, 2023
@GeorgesStavracas GeorgesStavracas added enhancement new api This requires adding API to an existing portal permissions Issues and feature requests related to permissions labels Oct 3, 2023
@GeorgesStavracas GeorgesStavracas moved this from Needs Triage to Triaged in Triage Oct 3, 2023
@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Dec 5, 2023

#325 (comment)

However, @matthiasclasen, this functionality must be possible to disable, for a specific permission of a specific application, the application itself, user-wide, and system-wide. Some systems are use-critical, and like on my smartphone, I need to be able to disable this at those levels. I am able to on cpe:2.3:o:google:android:13. Of course, #471 (comment) would be relevant for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new api This requires adding API to an existing portal permissions Issues and feature requests related to permissions
Projects
Status: Triaged
Development

No branches or pull requests

4 participants