When I attach a new file to a page that has a check mark in the "Only viewable by" Simple Access box, the check mark disappears. Each time I attach a new file to the page, I have to re-check the "Only viewable by" box.

Comments

jjeff’s picture

This is happening when you hit the "attach" button?

Does this happen if you hit the "preview" button as well?

-Jeff

dtmatthes’s picture

Yes, it happens when I hit the "preview" button, too. But I just discovered that if I hit "submit" first when attaching a file, instead of "attach," the check mark stays in the box. So it's not a huge issue. I suppose that if a person uses the same page often to attach new files, he or she could inadvertantly change access to the page without knowing about it by hitting "attach" or "preview." I'll just have to remember to hit "submit" instead, which is fine, because hitting the other two buttons causes the attached file to be listed by default, which is not what I want. Hitting "submit" attaches the file but does not list it.

-dtmatthes

tjharman’s picture

I've just noticed that this happens to me using the "preview" box.

I'm using Drupal 4.6, is there any patch to fix this? It's not a major bug, just a little annoying. I can see myself leaving some very personal blog entry open for all the world to see accidently!

(Yes, I know, if it's so private why am I posting it on the web in the first place? ;) )

TiM

Zed Pobre’s picture

Title: Attaching file unchecks "only viewable by" box » Previewing or attaching file unchecks "only viewable by" box

One of the other issue reports includes a patch that also fixes this problem.

dtmatthes’s picture

Which patch is it that fixes this problem?

dtmatthes’s picture

I found the simple_access.patch by Bert Wynants that fixes the problem at http://drupal.org/node/32376 and it seems to work great. I also like how it encorporates the ability to set a default simple access setting for each node type.

gordon’s picture

Status: Active » Fixed

I think this is fixed now in 4.7 and above.

Anonymous’s picture

Status: Fixed » Closed (fixed)