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

Permissions settings are ignored by apps and not persisted #171

Open
arkraft opened this issue Oct 29, 2021 · 2 comments
Open

Permissions settings are ignored by apps and not persisted #171

arkraft opened this issue Oct 29, 2021 · 2 comments

Comments

@arkraft
Copy link

arkraft commented Oct 29, 2021

What Happened?

It seems the permissions tab does not display the correct permissions for the apps or the apps do not follow the given permissions.
I removed the permission for "GNOME Web" to access network, just to try it out. After several restarts of the app i can still access the internet though. I expected "GNOME Web" to throw an error of any kind.
grafik

Same with Screenshot, where i removed the permission to access system folders and was still able to save a screenshot inside the system folder.
grafik

Or Evince was able to read all directories even though i removed access to them.
Maybe i just don't understand the permissions model of flatpak but this was like unexpected behavior for me.

Restarting the app or the system does not help.
After restarting switchboard and looking at the permissions again, they are not persisted and everything is back to the defaults. Adding permissions is persisted on the other hand, only the removed permissions are added again

Steps to Reproduce

  1. Go to the permissions tab
  2. Select "GNOME Web"
  3. Remove the permission to access networks
  4. Start GNOME Web
  5. Access any internet site
  6. Close Switchboard
  7. Open Switchboard again
  8. Go to the permissions tab
  9. Select GNOME Web

Expected Behavior

It should not be able to access the internet. GNOME Web was expected to fail, just like if you are not connected to the internet.
After restarting switchboard i expected my settings to be persisted. All removed permissions are set to the default values. Only additional permissions are persisted

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@leolost2605
Copy link
Member

I can confirm this here with filesystem and device permissions as well. To double check I used flatseal. When toggling a permission in elementary settings, flatseal showed a little icon with "manually changed by the user" but the actual switch doesn't change

@myhousece
Copy link

Yes, I'm facing this same problem with permissions. They don't comply. I disable them and they come back. I thought it would be just on my system, but I don't think so! I'm experimenting with Elementary 8.0 and in this case, the same thing reported is happening.
acesso app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants