Details

    • Type: Sub Task Sub Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0
    • Component/s: Development, Unit Testing
    • Labels:
      None
    • Similar issues:
      KULRICE-2355KIM Identity Service Test
      KULRICE-2356KIM Authentication Service Test
      KULRICE-2269Write Unit Tests for KIM Services
      KULRICE-2394KIM Responsibility Service Test
      KULRICE-2357KIM Group Service Test
      KULRICE-4667Evaluate remote KIM services: analysis & decision
      KULRICE-2353KIM Role Service Test
      KULRICE-7185Optimization of KIM Permission Checks
      KULRICE-13211Investigate attachmentTypeCode and KIM Permissions.
      KULRICE-8839KIM services need to be @Transactional
    • Rice Module:
      KIM

      Description

      Create / Modify Kim Permission Service Test - the following tests are needed:

      • Detail-less permission check (hasPermission(principal,permission)) - (already done?)
      • Permission check with details - exact match with details associated with the role
      • Permission check with details - details are subordinate to a higher-level detail associated with the role
      • Test that above tests all fail when appropriate as well

        Activity

        Bryan Hutchinson made changes -
        Field Original Value New Value
        Original Estimate 1 day [ 28800 ] 4 hours [ 14400 ]
        Remaining Estimate 1 day [ 28800 ] 4 hours [ 14400 ]
        Description Create / Modify Kim Role Service Test - the following tests are needed:

        * Principal membership in a role - direct role assignment
        * Principal membership in a role - principal assigned to higher level role
        * Principal membership in a role - principal assigned to group that's assigned to the role
        * Qualified membership check - principal assigned directly to a role - qualifiers match exactly (use base implementation of the role type service)
        * Qualified membership check - principal assigned directly to a role - requested qualification rolls up to a higher element in some hierarchy (which can be implemented in code for testing purposes)
        * Test behavior of role types (Role types could be their own test)
        ** proper translation of qualifiers - create two role types that take different qualifications.
        ** verify that the proper calls are done to convert qualifications from one type to another
        ** ex: Chart/Org -> Campus
        ** e.g., a qualified check is performed against a lower-level role that takes chart/org as qualifiers. The principal in question is assigned to a higher level role that is qualified by campus code. So, when checking if the higher level role assignment matches, the role service must convert the passed in chart/org into a campus code so it can compare against the principal's qualifier(s) on that role

        * Test that above tests all fail when appropriate as well

        See: http://docs.google.com/Doc?docid=dtbm2rb_199mjzggrfk&hl=en
        Create / Modify Kim Authorization Service Test - the following tests are needed:

        * Detail-less permission check (hasPermission(principal,permission)) - (already done?)
        * Permission check with details - exact match with details associated with the role
        * Permission check with details - details are subordinate to a higher-level detail associated with the role

        * Test that above tests all fail when appropriate as well
        Assignee Lin-Long Shyu [ lshyu ] Chitra Chandran [ cchandran ]
        Bryan Hutchinson made changes -
        Summary KIM Authorization Service Test KIM Permission Service Test
        Description Create / Modify Kim Authorization Service Test - the following tests are needed:

        * Detail-less permission check (hasPermission(principal,permission)) - (already done?)
        * Permission check with details - exact match with details associated with the role
        * Permission check with details - details are subordinate to a higher-level detail associated with the role

        * Test that above tests all fail when appropriate as well
        Create / Modify Kim Permission Service Test - the following tests are needed:

        * Detail-less permission check (hasPermission(principal,permission)) - (already done?)
        * Permission check with details - exact match with details associated with the role
        * Permission check with details - details are subordinate to a higher-level detail associated with the role

        * Test that above tests all fail when appropriate as well
        Bryan Hutchinson made changes -
        Assignee Chitra Chandran [ cchandran ] Ailish Byrne [ abyrne ]
        Eric Westfall made changes -
        Fix Version/s 1.0 QA [ 14860 ]
        Fix Version/s 1.0 [ 13481 ]
        Assignee Ailish Byrne [ abyrne ]
        Responsible Team [KRA Team] [Rice Team]
        Eric Westfall made changes -
        Fix Version/s 1.0 [ 13481 ]
        Fix Version/s 1.0 QA [ 14860 ]
        Eric Westfall made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Incomplete [ 4 ]
        Eric Westfall made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Shem Patterson (Inactive) made changes -
        Workflow custom [ 59306 ] Copy of custom for rice [ 210362 ]
        Shem Patterson (Inactive) made changes -
        Workflow Copy of custom for rice [ 210362 ] custom [ 220110 ]
        Shem Patterson (Inactive) made changes -
        Workflow custom [ 220110 ] Rice Workflow [ 229858 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Bryan Hutchinson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 4 hours
              4h
              Remaining:
              Remaining Estimate - 4 hours
              4h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Structure Helper Panel