← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1456069] [NEW] The validity of "expires_at" parameter should be checked when creating trust

 

Public bug reported:

The keystone has no check about the validity of "expires_at" when creating a trust. like this:
{
    "trust": {
        "expires_at": "2014-12-30T23:59:59.999999Z",
        "impersonation": false,
        "project_id": "30be1fc9a03c4e94ab05c403a8a377f2",
        "roles": [
            {
                "name": "admin"
            }
        ],
        "trustee_user_id": "58ab3b57493a4a15aada649359493215",
        "trustor_user_id": "e1d870e51c7340cb9d555b15cbfcaec2"
    }
}

The "expires_at" should be later than now.

** Affects: keystone
     Importance: Undecided
     Assignee: Liusheng (liusheng)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Liusheng (liusheng)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1456069

Title:
  The validity of "expires_at" parameter should be checked when creating
  trust

Status in OpenStack Identity (Keystone):
  New

Bug description:
  The keystone has no check about the validity of "expires_at" when creating a trust. like this:
  {
      "trust": {
          "expires_at": "2014-12-30T23:59:59.999999Z",
          "impersonation": false,
          "project_id": "30be1fc9a03c4e94ab05c403a8a377f2",
          "roles": [
              {
                  "name": "admin"
              }
          ],
          "trustee_user_id": "58ab3b57493a4a15aada649359493215",
          "trustor_user_id": "e1d870e51c7340cb9d555b15cbfcaec2"
      }
  }

  The "expires_at" should be later than now.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1456069/+subscriptions


Follow ups

References