Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement new 1.9.20-fixed api - createUser, setUserRoleOnProject #141

Open
lczub opened this issue Jul 30, 2020 · 0 comments
Open

implement new 1.9.20-fixed api - createUser, setUserRoleOnProject #141

lczub opened this issue Jul 30, 2020 · 0 comments
Assignees
Milestone

Comments

@lczub
Copy link
Owner

lczub commented Jul 30, 2020

implement new 1.9.20-fixed api - createUser, setUserRoleOnProject

related TL Mantis Task

  • 8967: [API - XMLRPC] Allow to set a leader on a project using XML-RPC API

new api

  • createUser, setUserRoleOnProject

    /**
     * Create a new user
     *
     * Restricted to site admin
     *
     * @param struct $args
     * @param string $args["devKey"]
     * @param string $args["login"]
     * @param string $args["firstname"]
     * @param string $args["lastname"]
     * @param string $args["email"]
     * @param string $args["password"] - OPTIONAL
     *               
     *
     * @return ID the new user if OK, otherwise error structure
     *
     * @access public
     */
    public function createUser($args) {
    /**
     * Set a role to a user at project level
     *
     * Restricted to users with System Wide Role Admin
     *
     * @param struct $args
     * @param struct $args["userid"]
     * @param struct $args["rolename"]
     * @param struct $args["testprojectid"]
     *
     * @return true if OK, otherwise error structure
     *
     * @access public
     */
    public function setUserRoleOnProject($args)
@lczub lczub added this to the v0.8.2 milestone Jul 30, 2020
@lczub lczub self-assigned this Jul 30, 2020
lczub pushed a commit that referenced this issue Oct 24, 2021
lczub pushed a commit that referenced this issue Oct 24, 2021
lczub pushed a commit that referenced this issue Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant