server icon indicating copy to clipboard operation
server copied to clipboard

Global role: License manager

Open techsmyth opened this issue 9 months ago • 4 comments

Description

As a license manager I want to be able to manage commercial usage

Acceptance criteria

  • [x] Client updated to allow assigning / removing role
  • [ ] Able to manage license plans
  • [ ] Able to assign / revoke license plans on accounts

Note: test suites to be updated in #3883

Additional Context

License Manager:

  • Create Space (--> and then become the space admin automatically, so able to edit the space until I specify another admin is and remove myself)
  • Update Space visibility (demo/active/archive)
  • Update Space priviliges/features
  • Create Innovation pack???
  • Create/Archive(?)/Verify organization
  • Create Innovation Hub
  • Manage betatesters?

Global Support:

  • Create Space
  • Act as Space admin in spaces where access for support is enabled
  • Create innovation packs
  • Update Space visibility (demo/active/archive)
  • Update Space priviliges/features
  • Update NameID
  • Update Space Host
  • Create/Archive(?)/Verify organization
  • Create Innovation Hub
  • Manage betatesters?

TBD: do we also need to be able to update org/user profiles? Maybe not, since in these extreme cases GA's can help out

techsmyth avatar May 07 '24 05:05 techsmyth

Moving back to backlog, as License manager can only manage beta testers.

Comoque1 avatar May 31 '24 07:05 Comoque1

Results are as follows for License Admin: Create Space (--> and then become the space admin automatically, so able to edit the space until I specify another admin is and remove myself) - yes Update Space visibility (demo/active/archive) - no Update Space priviliges/features - no Create Innovation pack??? - READ Create/Archive(?)/Verify organization - CREATE and READ Create Innovation Hub- [ "READ", "UPDATE","CREATE","DELETE"] Manage betatesters? - yes can assign / remove beta testers

query {
  platform {
    authorization {
      myPrivileges
    }
  }
}

image.png
query {
  platform {
    licensing {
      authorization {
        myPrivileges
      }
    }
  }
}

image.png
query {
  platform {
    innovationHubs {
      authorization {
        myPrivileges
      }
    }
  }
}
image.png
query {
  accounts {
    authorization {
      myPrivileges
    }
    license {
      authorization {
        myPrivileges
      }
    }
    licensePrivileges
  }
}

image.png
query {
  spaces {
    authorization {
      myPrivileges
    }
  }
}

image.png
query {
  platform {
    library {
      authorization {
        myPrivileges
      }
    }
  }
}

image.png
query {
  organizations {
    authorization {
      myPrivileges
    }
    verification {
      authorization {
        myPrivileges
      }
    }
  }
}

image.png

Comoque1 avatar Jun 25 '24 09:06 Comoque1

Global Support:

Create Space - Yes Act as Space admin in spaces where access for support is enabled - Yes Create innovation packs - Yes Update Space visibility (demo/active/archive) - Yes Update Space priviliges/features - Yes Update NameID - Yes Update Space Host - Yes Create/Archive(?)/Verify organization - Yes Create Innovation Hub - Yes Manage betatesters? - Yes

query {
  platform {
    authorization {
      myPrivileges
    }
  }
}

image.png
query {
  platform {
    innovationHubs {
      authorization {
        myPrivileges
      }
    }
  }
}

image.png
query {
  platform {
    library {
      authorization {
        myPrivileges
      }
    }
  }
}

image.png
query {
  platform {
    licensing {
      authorization {
        myPrivileges
      }
    }
  }
}

image.png
query {
  accounts {
    authorization {
      myPrivileges
    }
    license {
      authorization {
        myPrivileges
      }
    }
    licensePrivileges
  }
}

image.png
query {
  spaces {
    authorization {
      myPrivileges
    }
  }
}

image.png
query {
  organizations {
    authorization {
      myPrivileges
    }
    verification {
      authorization {
        myPrivileges
      }
    }
  }
}

image.png

Comoque1 avatar Jun 25 '24 09:06 Comoque1

@techsmyth above are the results re privileges of License and Support admin. Feel free to close the story, in case you accept them.

As major gaps I can see:

  • License admin cannot access other spaces on admin section - hence cannot assign licenses
  • Support admin, doesn't have rights to assign licenses

Comoque1 avatar Jun 25 '24 09:06 Comoque1