Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: Analysis, Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-11012Write or verify & link user guide for I8, I15, I16, I17
      KULRICE-11118samples for I10
      KULRICE-11130samples for I23
      KULRICE-11253samples for M9
      KULRICE-11333samples for M44
      KULRICE-11117samples for I9
      KULRICE-11119samples for I11
      KULRICE-11120samples for I12
      KULRICE-11121samples for I13
      KULRICE-11123samples for I16
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      Inquiry
    • Sprint:
      2.4.0-m3 KRAD Sprint 2
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required

      Description

      I15: Ability to specify an InquiryAuthorizer implementation to control the visibility and masking of sections and fields based on permission checks.
      1) Build a KRAD sample linked from the KRAD sample app / labs / inquiry page, and
      2) identify a KNS example.
      Add links to these in the corresponding row the Inquiry Gap Analysis wiki page (https://wiki.kuali.org/display/KULRICE/Gap+Analysis+-+Inquiry) to these examples.

        Activity

        Hide
        Jeff Ruch added a comment -

        Sample should go in labs-inquiry-pages.xml

        Show
        Jeff Ruch added a comment - Sample should go in labs-inquiry-pages.xml
        Hide
        Jeff Ruch added a comment - - edited

        How to do this in KNS:
        1. Create subclass of org.kuali.rice.kns.inquiry.InquiryAuthorizerBase
        2. Override getSecurePotentiallyHiddenSectionIds(), isAuthorized() as needed
        3. Configure in inquiry def bean: <property name="authorizerClass" value="my new class"/>

        How to do this in KRAD:
        1. Create subclass of org.kuali.rice.krad.inquiry.InquiryViewAuthorizerBase
        2. Override canViewGroup(), canViewField() as needed
        3. Configure in inquiry view <property name="authorizerClass" value="my new class"/>

        Show
        Jeff Ruch added a comment - - edited How to do this in KNS: 1. Create subclass of org.kuali.rice.kns.inquiry.InquiryAuthorizerBase 2. Override getSecurePotentiallyHiddenSectionIds(), isAuthorized() as needed 3. Configure in inquiry def bean: <property name="authorizerClass" value="my new class"/> How to do this in KRAD: 1. Create subclass of org.kuali.rice.krad.inquiry.InquiryViewAuthorizerBase 2. Override canViewGroup(), canViewField() as needed 3. Configure in inquiry view <property name="authorizerClass" value="my new class"/>
        Hide
        Peter Giles (Inactive) added a comment -

        Adding a bit of scope for documentation – the docbook for the authorizer says "Coming Soon", so Jeff suggested taking the opportunity to fill that in. Good idea!

        Show
        Peter Giles (Inactive) added a comment - Adding a bit of scope for documentation – the docbook for the authorizer says "Coming Soon", so Jeff suggested taking the opportunity to fill that in. Good idea!
        Hide
        Jeff Ruch added a comment -

        KFS Example:
        Inquiry for org.kuali.kfs.module.cg.businessobject.Proposal

        Show
        Jeff Ruch added a comment - KFS Example: Inquiry for org.kuali.kfs.module.cg.businessobject.Proposal

          People

          • Assignee:
            Jeff Ruch
            Reporter:
            Peter Giles (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2 days Original Estimate - 2 days
              2d
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 days, 1 hour
              2d 1h

                Agile

                  Structure Helper Panel