User keystone policy to check if user password can be updated

Bug #1347354 reported by Lin Hua Cheng
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Liyingjun

Bug Description

Keystone have a policy for change password, we need to apply this to horizon too.

policy:
  "identity:change_password": "rule:owner",

description: updated
tags: added: keystone
Liyingjun (liyingjun)
Changed in horizon:
status: New → Confirmed
assignee: nobody → Liyingjun (liyingjun)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/117405

Changed in horizon:
status: Confirmed → In Progress
Julie Pichon (jpichon)
Changed in horizon:
importance: Undecided → Low
milestone: none → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/117405
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=2e0444b97b33c95eada1e9246b28a416c28ea384
Submitter: Jenkins
Branch: master

commit 2e0444b97b33c95eada1e9246b28a416c28ea384
Author: liyingjun <email address hidden>
Date: Thu Aug 7 22:08:02 2014 +0800

    User keystone policy to check if user password can be updated

    Keystone have a policy for change password, we need to apply this to
    horizon too.

    policy:
      "identity:change_password": "rule:admin_or_owner"

    Change-Id: Idd35646f9cbe4fadaa96bc85b243ed4f7823d9dd
    Closes-bug: 1347354

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-rc1 → 2014.2
Revision history for this message
Julie Pichon (jpichon) wrote :

It looks like the policy name already exists in Icehouse, so this would make for a nice backport too.

https://github.com/openstack/keystone/blob/stable/icehouse/etc/policy.json

tags: added: icehouse-backport-potential
Revision history for this message
Julie Pichon (jpichon) wrote :

Although, Horizon didn't have it in its own policy file: https://github.com/openstack/horizon/blob/stable/icehouse/openstack_dashboard/conf/keystone_policy.json so we will want to make sure first that the default behaviour doesn't change after adding this, when the rule doesn't exist (can't recall the default right now)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.