Menu

#6 Allow promotion of a Contact to an account

0.49
open
Logic
Enhancement
2016-07-14
2012-08-02
No

Contacts can be created with Snurtle, but there is no simple way to convert a contact into an account; without this there is no direct way to add users to Coils.

c = ctx.run_command('contact::get', id=10600)
c.login='adam'
c.is_account = 1
c.template_user_id = 9999
ctx.commit()

Related

Wiki: RoadMap

Discussion

  • Adam Tauno Williams

    • milestone: 0.48 --> 0.49
     
  • Adam Tauno Williams

    The "account::new" Logic command implements this.

    Parameter Description
    login The login value to be assigned to the new account. The login value must be unique system-wide.
    password Clear text password for the new account. No password will be set if this parameter is not provided; which doesn't matter if the instance is using an external authentication mechanism.
    contact The contact entity to be granted account status.

    This Logic command even already implements roles. So we probably just need an API and/or a tool.

     
  • Adam Tauno Williams

    Might be nice to be able to set the template id of the new user.

     
  • Adam Tauno Williams

    • Layer: --> Logic
    • Type: --> Enhancement
     

Log in to post a comment.

MongoDB Logo MongoDB