alkem-io / server

Core server in the Alkemio platform, offering a GraphQL api for interacting with the logical domain model.
http://alkem.io
European Union Public License 1.2
26 stars 4 forks source link

Global role: License manager #3884

Open techsmyth opened 5 months ago

techsmyth commented 5 months ago

Description

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

Acceptance criteria

Note: test suites to be updated in #3883

Additional Context

License Manager:

Global Support:

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

Comoque1 commented 5 months ago

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

Comoque1 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

@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: