GithubHelp home page GithubHelp logo

Comments (4)

dixudx avatar dixudx commented on June 9, 2024

Yes. Currently the library only support get the members.

@durera Good suggestion. I've not investigated this. But I think it is not difficult to implement. New method addMember(), deleteMember() and etc will be added.

Also you are welcome to submit your PR.

from rtcclient.

durera avatar durera commented on June 9, 2024

Looking at the oslc APIs I'm not sure how this can be done ... to add a member you need to provide a user ID and one or more role IDs for that user to have in the project/team area, but the API being used (/oslc/projectareas/$ID/rtc_cm:members) only seems to handle the users and not cover the roles at all.

Have you have any thoughts on how to make this work/if it's even possible? I'm happy to help out with the coding, but having taken a look at this this evening, I'm not really sure how to make this work with the APIs available.

from rtcclient.

dixudx avatar dixudx commented on June 9, 2024

@durera Sorry for the late reply. You are right. To add a member in a project area, a user id and several role ids are needed. And this is exactly what the web ui does.

After investigating oslc apis, I think we have to split this action into two parts:

  1. just add a member using user id;
  2. do role assignments to that user;

from rtcclient.

dixudx avatar dixudx commented on June 9, 2024

@durera If you navigate to the History panel of a specific project area, you will see the action to add a member is split into two parts as well.

Members	
         added:
             usera

-----------------
Role assignments	
         usera
             added:
                 Developer
                 Project Manager
                 Team Lead
                 Stakeholder

from rtcclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.