Uploaded image for project: 'Trapperkeeper'
  1. Trapperkeeper
  2. TK-477

Write acceptance test for RBAC tk-auth rule

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Done
    • None
    • None
    • TrapperKeeper
    • None
    • Needs Assessment

    Description

      We should have an acceptance-level test for RBAC rules in tk-auth. We should be sure to test at least:
      1) a token with the appropriate permission (allow)
      2) a token without permission (deny)
      3) a request without a token (deny)

      This test should most likely go in pe-puppet-server-extension's test suite, since it is a PE-only feature of tk-auth, and doesn't require any special casing in RBAC. But we should double check this with the RBAC maintainers.

      Attachments

        Activity

          People

            tony.vu Tony Vu
            maggie Maggie Dreyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support