ep_access

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

ep_access

Post by Fabien »

Hi,

I just have a look at the database. And i discovered a table named entryproperties. Inside, I have some sticky entries (ok, that's clear), but I have a short list of entries with the property ep_access. What does it mean? Can I delete these lines of the table without having problems with the base?

Thanks, Fabien
Fabien Chabreuil (blog)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: ep_access

Post by garvinhicking »

Hi!

This database table is used to store arbitrary additional data to entries, mostly used/offered by the serendipity_event_entryproperties plugin.

ep_access stands for read access to an entry on the frontend, as you can hide entries for specific users/authorgroups.

If you delete them, entries will be viewable by everyone. But once you save an entry again, those entries will be there again, so there shouldn't be a case where you would need to remove those.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Re: ep_access

Post by Fabien »

Hi Garvin,

I am sorry, but I don't understand. The entries that are listed in this table with the ep_access property have nothing special. They can be seen by everybody. So what does that mean when an entry is NOT listed in this table.

Best regards, Fabien
Fabien Chabreuil (blog)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: ep_access

Post by garvinhicking »

Hi!

Yeah, also the attribute "can be read by everyone" is stored inside the database, in case default viewability settings change.

So, in your case, if the DB entry is there with a value "public" OR if it missing, the entry can be viewed.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Re: ep_access

Post by Fabien »

Thanks a lot. it's crystal clear now.
Fabien Chabreuil (blog)
Post Reply