I really don’t want to do part Go, part RESTful, and part Command Line Interface (CLI), which unfortunately is where it looks like we’ll end up.Īs to the use of LDAP, I won’t go into details but yes, we DO need to create users in advance. I know we can delete teams using the RESTful API, but don’t see a Go equivalent. Thank you for taking the time to reply saturnino. Does this sound like a reasonable approach? Any pitfalls? I’ve got the code in place to create the users with fake generated-and-complex passwords with the idea that since we’re using LDAP for authentication, the password in the Mattermost user record doesn’t really matter anyway. But, since password is a required field when creating a user, and since it requires at least 5 characters, and since we’re using LDAP for authentication (so I don’t know and nor do I want to know their passwords), I’m a bit unsure what to do now. I’ve managed to create the teams if they don’t exist (I’d love to be able to delete it using the API too… especially during development since mistakes happen, but that’s another topic) and now I’m trying to create the users, then add them to their teams (or remove them). We’re using the Go API (client4) to do this. Of course we’ll also remove them if they drop the course. With potentially thousands of students, we want to automate the creation of teams by their courses, and then add the users to their appropriate course teams. We are new to using the E10 edtion, for Academic purposes, and use our LDAP for authentication.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |