Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-9463

Kim authorization configuration not working for groups inside stacked collection

    Details

    • Similar issues:
      KULRICE-5339Finish integration with presentation controller/authorizer/AttributeSecurity checking KIM
      KULRICE-9044KRAD "stacked" collection elements are not rendering add/delete buttons
      KULRICE-7006Provide configuration on Collection Group to limit displayed records
      KULRICE-1920Ensure collection deletions work for all KIM collections
      KULRICE-12923addLine does not work inside addDialog when used in a StackedCollection
      KULRICE-5371Uif Framework - Collections: Hook in authorization
      KULRICE-11909Collection add not working ( collection disappears on add)
      KULRICE-10086Continue Server Side Paging Work - Stacked Collection
      KULRICE-8420Horizontal layout does not work within a collection item
      KULRICE-5175Implement master/detail grouping needed for KIM screens
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      KIM Integration
    • Application Requirement:
      Rice
    • Sprint:
      2.4.0-rc1 Sprint 5, 2.4.0-rc1 Sprint 6, 2.4.0-rc1 Sprint 7, 2.4.0-rc1 Sprint 8
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      I was trying to configure authorization of group box which was inside stacked collection section, have configured all correct information but due to dynamic generation of ids inside stacked collection section *line..n the authorization configuration is not working,
      also provided wild card character after group name but still it is not working.

      Have tried to use fieldGroup but stacked collection doesnt allow filed group inside stacked collection and I cannot access property of collection.

      please see krad thread for more detail.

      https://groups.google.com/a/kuali.org/forum/?hl=en&fromgroups=#!mydiscussions/rice.usergroup.krad/YaeOzZJ-lBw
      https://groups.google.com/a/kuali.org/forum/?hl=en&fromgroups=#!mydiscussions/rice.usergroup.krad/y-D8YUUs4aA

      1. ContributionController.java
        19 kB
        Aniruddha Jani
      2. ContributionForm.java
        12 kB
        Aniruddha Jani
      3. ContributionView.xml
        22 kB
        Aniruddha Jani

        Activity

        Hide
        Aniruddha Jani (Inactive) added a comment -

        Please find attached file to reproduce the error

        Show
        Aniruddha Jani (Inactive) added a comment - Please find attached file to reproduce the error
        Hide
        Martin Taylor (Inactive) added a comment - - edited

        Aniruddha Jani: Can you provide the details on the permission you've setup including permission template, template, and permission details?

        Notes from google groups:
        permission will be of type ‘KR-KRAD: View Line Field’ and the details will be:
        fieldId=Clearinghouse-Status-Group
        groupId=Clearinghouse-Middle-Feature
        viewId=ContributionView

        Show
        Martin Taylor (Inactive) added a comment - - edited Aniruddha Jani : Can you provide the details on the permission you've setup including permission template, template, and permission details? Notes from google groups: permission will be of type ‘KR-KRAD: View Line Field’ and the details will be: fieldId=Clearinghouse-Status-Group groupId=Clearinghouse-Middle-Feature viewId=ContributionView
        Hide
        Martin Taylor (Inactive) added a comment -

        Notes:
        Checked out clearinghouse app and setup db locally to reproduce. Ran into some display issues but was able to see component auth display. Had some issues relating to Admin/NonAdmin View.

        Show
        Martin Taylor (Inactive) added a comment - Notes: Checked out clearinghouse app and setup db locally to reproduce. Ran into some display issues but was able to see component auth display. Had some issues relating to Admin/NonAdmin View.
        Hide
        Kristina Taylor (Inactive) added a comment -

        I'm not sure that permission will work. The "field" you are trying to hide/show is a group, due to it being a Uif-HorizontalBoxSection despite it being a line in a collection. I would try instead the permission "View Group" with groupId=Clearinghouse-Status-Group and viewId=ContributionView.

        Show
        Kristina Taylor (Inactive) added a comment - I'm not sure that permission will work. The "field" you are trying to hide/show is a group, due to it being a Uif-HorizontalBoxSection despite it being a line in a collection. I would try instead the permission "View Group" with groupId=Clearinghouse-Status-Group and viewId=ContributionView.
        Hide
        Martin Taylor (Inactive) added a comment -

        Unable to reproduce. Based on notes from previous testing, closing.

        Show
        Martin Taylor (Inactive) added a comment - Unable to reproduce. Based on notes from previous testing, closing.

          People

          • Assignee:
            Martin Taylor (Inactive)
            Reporter:
            Aniruddha Jani (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Start Date:

              Time Tracking

              Estimated:
              Original Estimate - 1 day
              1d
              Remaining:
              Time Spent - 6 hours Remaining Estimate - 2 hours
              2h
              Logged:
              Time Spent - 6 hours Remaining Estimate - 2 hours
              6h

                Agile

                  Structure Helper Panel