Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P polkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 118
    • Issues 118
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • polkit
  • polkit
  • Merge requests
  • !45

polkitbackend: Re-instate the local authority

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Robert Ancell requested to merge rancell/polkit:local-authority into master Jan 16, 2020
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 13

The local authority was removed in 0f830c76 (May 2012) as it was deemed unnecessary as the jsbackend could perform any functionality that was previously done using the localbackend.

However, for security reasons Debian and Ubuntu did not determine the JS backend safe enough to ship by default, and thus have remained on polkit version 105 ever since (though collecting cherry-picked patches from the following releases).

By re-instating the local authority both Debian and Ubuntu are able to update to track the latest version of polkit. The JS backend remains by default and the local backend is only compiled and used if configured with --disable-javascript.

While supporting two backends does come at an increased cost in this case it seems reasonable low as the code in this change required almost no modification to re-introduce.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: local-authority