jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
gopar has quit [Ping timeout: 256 seconds]
jadewang has joined #sandstorm
gopar has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm
jadewang has joined #sandstorm
rhapsodhy has quit [Remote host closed the connection]
rhapsodhy has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
ryukafalz has joined #sandstorm
<ryukafalz> Hey! So I have a bit of a concern about running Sandstorm on my own server. When first setting up Sandstorm on a server, you are given the options to configure Google and GitHub logins with API keys for the respective service. Isn't this a problem in that, if left unconfigured, anyone can just configure it with their own API key?
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
<zarvox> I think the plan is to hide all login options by default, admin does first login with the token-login flow, and then the admin configures additional login mechanisms.
<ryukafalz> that sounds like a much better system
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
pixelport has joined #sandstorm
<ocdtrekkie> ryukafalz You can already disable login methods from the admin panel. But they'll be moving those configure buttons to the admin panel very soon.
<ocdtrekkie> There's already a PR for it I think.
gopar has quit [Quit: Leaving]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
mort___ has joined #sandstorm
mort___ has left #sandstorm [#sandstorm]
jadewang has joined #sandstorm
bb010g has quit [Quit: Connection closed for inactivity]
jadewang has quit [Ping timeout: 264 seconds]
pixelport has quit [Quit: Leaving]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 272 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 246 seconds]
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 245 seconds]
natea has joined #sandstorm
jadewang has joined #sandstorm
jeffmendoza has quit [Remote host closed the connection]
jadewang has quit [Ping timeout: 264 seconds]
mort___ has joined #sandstorm
tantalum has quit [Quit: Leaving]
<phildini> ryukafalz: yes. If you don't configure a particular auth service, you should disable it in the admin panel.
<ryukafalz> oh, oops, I didn't see the admin panel settings
pixelport has joined #sandstorm
gopar has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
jadewang has joined #sandstorm
<paulproteus> Things I'm going to have to figure out soon (probably this week), partial list:
<paulproteus> - Automated tests for the install script
<pixelport> I fucked up sandstorm somehow by re- and disabling diffrent auth methods
<pixelport> any way I can reset sandstorm without reinstalling everything?
<dwrensha> `sudo sandstorm admin-token` maybe?
<pixelport> tryed that already
<paulproteus> Yeah, admin-token and/or reset-oauth
<pixelport> didn't work
<pixelport> the problem is that the admin-token won't give me the admin interface anymore
<pixelport> any way I can simply edit the mongo db?
<paulproteus> maybe try `sudo sandstorm mongo` and then `db.meteor_accounts_loginServiceConfiguration.remove({})`
<paulproteus> (quoth dwrensha )
<pixelport> paulproteus: thanks will try that
<dwrensha> looks like `sudo sandstorm reset-oauth` should do the same thing
<pixelport> yeah this should be fixed
<paulproteus> pixelport: Hey, have you tried reset-oauth yet?
<pixelport> yes
<dwrensha> and clearly the short help message for `admin-token` is wrong
<dwrensha> it should not be the same as for `reset-oauth`
<paulproteus> I want to make sure we get the most information possible about how to fix this in Sandstorm.
<dwrensha> pixelport: can you describe more about what happens when you try to log in?
<paulproteus> I'll leave that to you two, but I just want to make sure this all happens slow enough for people to figure out what should we shouldc hange.
<pixelport> no problem just wait a second
<paulproteus> s/c hange/ change/
<pixelport> okay here is how I think its possible to reproduce the problem: 1) use sandstorm admin-token, create new google auth and account 2) create new admin-token, change auth to github only. 3) Do auth with github account over admin-token link. Problem: new github user is not marked as admin. But It should be since the auth was done over the admin token.
<dwrensha> interesting!
<dwrensha> you can add admin privileges through `sudo sandstorm mongo`
<pixelport> It should also be possible to use just the admin-token link to invite new users
mort___ has quit [Quit: Leaving.]
<dwrensha> db.users(<userId>, {$set: {"isAdmin": true}})
<dwrensha> ^ might solve your immediate problems, but clearly we also need to fix some things that are broken
<pixelport> db.users.remove() did it for me
<pixelport> and than using a new admin token to register again
bengo has joined #sandstorm
pixelport has quit [Ping timeout: 252 seconds]
bb010g has joined #sandstorm
pixelport has joined #sandstorm
jeffmendoza has joined #sandstorm
pixelport has quit [Ping timeout: 276 seconds]
jeffmendoza has quit [*.net *.split]
paroneayea has quit [*.net *.split]
logbot__ has quit [*.net *.split]
zarvox has quit [*.net *.split]
kxra has quit [*.net *.split]
ripdog has quit [Ping timeout: 244 seconds]
ripdog has joined #sandstorm
jeffmendoza has joined #sandstorm
paroneayea has joined #sandstorm
zarvox has joined #sandstorm
logbot__ has joined #sandstorm
kxra has joined #sandstorm
ryukafalz has quit [Quit: WeeChat 0.4.2-dev]
<aldeka> zarvox: I have sandstorm questions!
<aldeka> I'm the admin of a sandstorm install, but currently have zero apps/files/whatever shared with me. But I believe there are apps/files/whatevers on the install.
<aldeka> Mainly etherpad documents.
<aldeka> How can I see what documents are on here?
pixelport has joined #sandstorm
<paulproteus> aldeka: whoa, that's an interesting question
<paulproteus> cc: dwrensha
<dwrensha> aldeka: you can see some overview statistics in the "Usage Stats" tab
<dwrensha> but even if you're an admin, you're not allowed to access grains unless they've been shared with you
<jparyani> pixelport: the behavior you're seeing is due to only the first user becomes and admin. The `admin-token` doesn't turn a user into an admin, it merely allows you to access the admin settings page. This clearly needs to be better documented, and we need a simpler way to grant new users admin status.
<aldeka> dwrensha: I don't really understand the statistics on this page.
<aldeka> It says right now there are 0 users, 0 grains.
<aldeka> But then there's this daily/weekly/monthly thing.
<aldeka> And that has some users and grains in it, just not today.
<aldeka> dwrensha: also that's really unfortunate, since my goal is to get the data off of this sandstorm instance before it is turned off :(
<dwrensha> if you have shell access, that should be straightforward
<dwrensha> er, I suppose "shell" is overloaded, as we sometimes call the web UI the "Sandstorm Shell"
<aldeka> Looks like not.
<pixelport> jparyani: Yeah, the admin-token should definetly allow to set admin status of users. Its confusing and not clear that just the first user registerd via admin-token gets admin status.
<dwrensha> "admin" mostly means "can add other users and edit configuration"
<dwrensha> If you don't have access to the filesystem or to the mongo database, then you won't be able to get data that belongs to other users.
<dwrensha> (if everything is working properly)
<dwrensha> if, on the other hand, you can do `sudo sandstorm mongo`, then you could e.g. update the owner of all the grains to be you
* aldeka nods
<aldeka> right now I haven't yet found anyone who even has ssh access, so...
<aldeka> The person who set up the instance at my work is no longer with the company. So, hilarity may ensure.
<paulproteus> i,i Sadstorm Sadministrator's guide
<aldeka> Pretty much.
<paulproteus> It seems likely aldeka that you can find someone who manages VMs somehow to give you shell access.
<paulproteus> But I don't know much about the kind of VM that your Sandstorm is installed on.
<ocdtrekkie> So, email the whole company and tell people to download their stuff?
<paulproteus> Yeah, that's a pretty OK strategy too ocdtrekkie.
<ocdtrekkie> Your company doesn't like document all of the admin info for its boxes somewhere? One employee whipping up his own login and stuff to configure stuff with isn't a great idea.
fonfon has joined #sandstorm
bengo has quit [Quit: Textual IRC Client: www.textualapp.com]
pixelport has quit [Ping timeout: 276 seconds]
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm
bengo has joined #sandstorm
bengo has quit [Quit: Computer has gone to sleep.]
gopar has quit [Quit: Leaving]
bengo has joined #sandstorm
bengo has quit [Quit: Computer has gone to sleep.]
bengo has joined #sandstorm
bengo has quit [Quit: Computer has gone to sleep.]
bengo has joined #sandstorm
bengo has quit [Client Quit]
bengo has joined #sandstorm
bengo has quit [Client Quit]
bengo has joined #sandstorm
fonfon has quit [Ping timeout: 250 seconds]
gopar has joined #sandstorm
natea has quit [Quit: natea]
mort___ has joined #sandstorm
mort___ has quit [Quit: Leaving.]
natea has joined #sandstorm
natea has quit [Quit: natea]
bengo has quit [Quit: Computer has gone to sleep.]
bengo has joined #sandstorm