Bug 956005
Summary: | polkit: support for package-supplied authorization rules | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> |
Component: | polkit | Assignee: | Jan Rybar <jrybar> |
Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jmoran, mitr |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-04-26 15:47:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Florian Weimer
2013-04-24 07:32:47 UTC
Thanks for your report. If an application needs a different authorization rule "for itself" because the policy defaults mechanism in .action, it should just ship a .pkla (or .rules) file in /var or /usr. I can't see any benefit to adding a separate mechanism. An application A overriding the policy of application B is more problematic (primarily in terms of coordination or expectations), however the technical answer will probably be the same - just use a .pkla or .rules file. (In reply to comment #1) > If an application needs a different authorization rule "for itself" because > the policy defaults mechanism in .action, it should just ship a .pkla (or > .rules) file in /var or /usr. I can't see any benefit to adding a separate > mechanism. I agree that a code change is not necessarily required, but please update the manual page that this is a supported scenario. (In reply to comment #1) > Thanks for your report. > > If an application needs a different authorization rule "for itself" because > the policy defaults mechanism in .action, "because the policy defaults mechanism in .action is too weak" Patch sent upstream for review. This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. polkit-0.113-5 still contains: <para> and those audiences only. In particular, applications, mechanisms and general-purpose operating systems must never include any authorization rules. </para> Yes, nothing happened upstream. Pinged there. |