ARCHIVE
LinuxMCE Forums
May 24, 2013, 05:32:48 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Public and private media listing  (Read 4062 times)
archived
Hello, I'm new here

Posts: 0


View Profile
« on: January 22, 2007, 08:24:03 pm »

Hi all

I've noticed that with new UI when navigating in media listing all media are listed regardless they are public or private.

With previous UI one could browse only public media and his own ones (if any).

Is there something I am missing?

Generally speaking, I'm reporting in this forum all strange things I happen to find after looking in the forum and in mantis whether they were already reported or not.
Is this procedure correct or should I go directly on mantis to open new issues instead of posting here?

Just to make sure to ease your job ...

TIA
Marco
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #1 on: January 23, 2007, 10:25:09 am »

you can select public or private with new ui too
on ui2 you have the sort options on the bottom of filebrowser screen
on ui1 you need to press 'options' from filebrowser to go to that screen.
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #2 on: January 23, 2007, 11:48:09 pm »

Hi Dan and thanks for your reply

I guess I was unclear when explaining my issue, so I'll make an example.

If I navigate media using an orbiter and a certain user, I can see public media, the specific user's private media but also private media of other users.
In new UI there is an option (as you said) that should allow to see only public or also private media, but in my case it is not working. I mean that if I select/unselect public and/or private anf then presso "Go" nothing happens to media listing, i.e. all media are listed (even those I should not see with my user).

With previous UI I was allowed to browse public media and only MY private media (if any) but surely not other user's private media.

Another issue (but I think it's quite well known) is that when switching from a user to another no password is required, even if every user has his own password defined.

These two issues together make totally useless the distinction between public and private media, at least on my system.

Since the datagrid for media browsing has changed, I guess that maybe something strange has happened into the related mysql tables so that all media are considered "public".

Is my guess correct or is there something else that I'm missing?

TIA
Marco
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #3 on: January 24, 2007, 02:16:10 pm »

It's a bug we'll fix it.  Re; the password, the idea is to add a check box 'require pin to access private media', so if the user wants private media just for organizing, but it doesn't have to be secure, he doesn't have to check the box.
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #4 on: January 29, 2007, 03:01:13 pm »

Just an update that may be useful for users that want to temporarily fix situation.

Looking into plutomedia mysql tables I've found how to settle private media visibility.

Making it short, it is enough to perform the following SQL statement:

Code:
UPDATE `File` SET `FK_MediaSubType` = NULL ,
`FK_FileFormat` = NULL ,
`EK_Users_Private` = 'your userID',
`EK_Device` = NULL ,
`psc_id` = NULL ,
`psc_batch` = NULL ,
`psc_user` = NULL ,
`psc_mod` = NOW( ) ,
`psc_restrict` = NULL WHERE `Path` LIKE '/path/to/your/private/media'
AND `EK_Users_Private` IS NULL


This will set the proper value into EK_Users_Private, making the related media somehow private to the specific user.

This confirms that most probably the last version of UpdateMedia does not set properly the named field (atually it leaves it as NULL), so that all media are considered public.

HTH
Marco
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Pluto provided a snapshot of their forums with approximately 5,000 posts in February, 2007 when LinuxMCE branched off. Browse those forum posts in the Archive section. Those posts have been included in the search engine and can be found with keyword searches.