Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1261

Separate permissions or modules for menu and xml_form_builder functions

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: MARCXML
    • Labels:
      None

      Description

      Today, enabling module results in enabling two distinct functions:

      1. islandora_marcxml_menu()
      2. islandora_marcxml_islandora_ingest_steps_alter()

      Sometimes the marcxml_menu function is all that is desired.

      In this use case, islandora_marcxml_islandora_ingest_steps_alter() becomes an annoyance.

      But maybe at some later date, the islandora_marcxml_islandora_ingest_steps_alter() function becomes desirable again.

      It would be nice to be able to enable/disable each function, on an as-needed basis.

      It might also be a nice improvement to have a means to associate the islandora_marcxml_islandora_ingest_steps_alter() function with a particular object model, instead of it broadcast interjecting itself on all object model xml forms.

      As it stands today, one must disable the entire module to stop islandora_marcxml_islandora_ingest_steps_alter() from interjecting.

      Today, the xml form hook behavior presents an annoyance, because we're not using the function today. But tomorrow we might need the function...

      I'd rather have a means to stay in sync with the community, than ever have to consider manually commenting out the function with every update.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bradspry Brad Spry
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: