Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-4315

PSP Channel permissions are currently too broad when keyed in

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FlowManager
    • Labels:
      None

      Description

      I discovered this issue while working on the capture tool, and while it's actually been useful for developing and prototyping the tool, I think it's not actually the correct behavior especially once we have proper username/password accounts.  I don't think it's been any type of issue because we only use the `gpii-default` preference set for all the current operations. 

      When a user keys in to Morphic, all of their preference sets with settings are available from the pspChannel with modelRelay path `{pspChannel}.model.preferences`

      Additionally I can also use the local flowManager in the captureTool to save/merge preferences to new or existing preference sets when a user is keyed in.

       

       

      var payload = {
          contexts: {}
      };
      payload.contexts[options.prefSetId] = options.prefSetPayload;
      flowManager.savePreferences(that.model.keyedInUserToken, payload)

       

      I think that if a user is keyed, it's likely that the cloud based flow manager should only be returning the preferences for the keyed-in preference set, and allow merging/saving to that preference set.  A full login should probably be required for the features I'm currently using.

        Attachments

          Activity

            People

            Assignee:
            cli@ocad.ca Cindy Qi Li
            Reporter:
            sgithens Steven Githens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: