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

Add an option to control permission requests #84

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

thiblahute
Copy link
Member

This adds the following API function:

  • cog_launcher_add_web_permissions_option_entries

Currently only 2 values are accepted 'all' and 'none', by default
no permissions are granted.

Long term, we will be able to add a more complete synthax to let the
user decide what to accept and what not.

Copy link
Member

@aperezdc aperezdc left a comment

Choose a reason for hiding this comment

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

Thanks a lot for sending this PR! I think it is a good idea to have this functionality, but I would like a few changes to the patch.

core/cog-launcher.c Outdated Show resolved Hide resolved
core/cog-launcher.c Outdated Show resolved Hide resolved
core/cog-launcher.c Outdated Show resolved Hide resolved
core/cog-launcher.c Outdated Show resolved Hide resolved
core/cog-launcher.c Outdated Show resolved Hide resolved
core/cog-launcher.c Outdated Show resolved Hide resolved
core/cog-launcher.c Outdated Show resolved Hide resolved
core/cog-launcher.c Outdated Show resolved Hide resolved
core/cog-launcher.c Outdated Show resolved Hide resolved
core/cog-shell.c Show resolved Hide resolved
This adds the following API function:

  * cog_launcher_add_web_permissions_option_entries

Currently only 2 values are accepted 'all' and 'none', by default
no permissions are granted.

Long term, we will be able to add a more complete synthax to let the
user decide what to accept and what not.
Copy link
Member

@aperezdc aperezdc left a comment

Choose a reason for hiding this comment

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

Looking great, let's merge it! 👍

@aperezdc aperezdc merged commit bb99101 into Igalia:master Mar 18, 2019
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.

2 participants