ngovil21 / RequestChannel.bundle

Request Channel - A Plex Channel to create requests
158 stars 22 forks source link

Return user who made request #3

Closed ngovil21 closed 8 years ago

ngovil21 commented 8 years ago

Keep track of the user who made a request and show in notification.

ngovil21 commented 8 years ago

Currently only the users local token can be used from the Plex API. No way to identify the user from the token however.

ngovil21 commented 8 years ago

Going to have users register themselves everytime a new token is detected. Hopefully gives someway to identify users.

pinkzeppelinx commented 8 years ago

Perhaps tic boxes in a list of users that are allowed... Nothing is stopping them from choosing someone else, but they don't know that.

Can you have them sign in to myplex within the channel like the way plexrequests does it ?

ngovil21 commented 8 years ago

I think the user entering in their name is good enough, tickboxes seems a lot. I will look into adding your own name for the user in the Manage User menu.

I could have the user login. There's no password input box in a plex channel, so their password will be visible while logging in.

pinkzeppelinx commented 8 years ago

I noticed I was able to do that with a 'user' account after I posted the comment.. sorry ;)

Since the request shows up in the PMS log along with the IP can a grep be done to find username that way?

Either way asking for the username is great!

ngovil21 commented 8 years ago

I don't really want to go grepping through the logs. Currently users are identified by their token and I don't want to have people logging the tokens in the log. It's a security issue.

I added the ability to manually edit usernames under Manage Channel -> Manage Users -> Rename User