Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-3490

make assembly of permission details (e.g. in DocumentTypePermissionServiceImpl.buildDocumentTypePermissionDetails(...)) dynamic based on db config

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.1
    • Fix Version/s: Backlog
    • Component/s: Development
    • Labels:
    • Rice Module:
      KIM

      Description

      Assembling of permission detail attributes is poorly factored – hard code has to match the configuration expressed in the database in the tables krim_typ_t, krim_typ_attr_t, and krim_attr_defn_t. If this configuration is going to live in the database, it seems that we should be able to dynamically assemble the required attributes based on that db configuration. Not sure off the top of my head how tricky this would be to implement, but of course each type will only support certain attributes so there will be limitations to how flexible it can be.

      In any case, in its present form this has a funny smell to it and at least could use some thought as to how it might be refactored.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              gilesp Peter Giles (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: