Posted on: 01/16/04 12:56pm
By: Anonymous (Jim)
Hi,
Where does the default permissions for a submission get set. I would like to make the default where anonymous has no access for all submissions.
Thanks in advance
Jim
Re:Default permissions
Posted on: 01/16/04 01:28pm
By: DTrumbower
Re:Default permissions
Posted on: 01/18/04 04:57pm
By: Anonymous (Jim)
Thanks for your reply, but I still don't see it. I am looking to have the anonymous read unchecked on all submissions as the default.
I must be missing something?
Thanks,
Jim
Re:Default permissions
Posted on: 01/18/04 10:57pm
By: Anonymous (FreakWorld)
it's in your config file.
Open it with notepad and go to edit and thin find... for
MISCELLANEOUS SETTINGS
Re:Default permissions
Posted on: 01/19/04 02:23am
By: Anonymous (Jim)
Thanks for weighing in.... I must be too dense for this. When I looked in the config file for misc, I find trhe login required section. I have this set for login required.
When someone submits a story/link/file, or anything else, we have to uncheck access to anonymous read. This is what I cannot find here.
Sorry to be a pain. I have been looking for some time.
Jim
Re:Default permissions
Posted on: 01/19/04 09:43am
By: Turias
in admin/story.php, after elseif ($mode == "edit"),
change
$A['perm_anon'] = 2;
to
$A['perm_anon'] = 0;
Re:Default permissions
Posted on: 01/19/04 09:54am
By: Dirk
Story permissions are actually inherited from the permissions of the topic they are posted under. So unchecking the "Anonymous R" checkbox for all topics should do what you want.
Or rather, that's how it works for stories submitted by normal users. (Story)Admins will always have to set the permissions manually, but Turias' hack should take care of that, too.
Since there is no such thing as a topic for links, etc., you will have to make similar changes to other files as well.
bye, Dirk
Re:Default permissions
Posted on: 01/19/04 11:43am
By: Anonymous (Jim)
That's the one. Thanks!
Jim
Re:Default permissions
Posted on: 01/19/04 11:57am
By: Anonymous (Jim)
I had unchecked the permission in the topics some time ago. It does not seem to have any effect on the new subbmisions but does stop anonymous users from viewing the topics. I will alter the php files as suggested by Turias.
Thanks again,
Jim
Default permissions
Posted on: 03/06/04 12:21pm
By: tingo
[QUOTE BY= Turias] in admin/story.php, after elseif ($mode == "edit"),
change
$A['perm_anon'] = 2;
to
$A['perm_anon'] = 0;
[/QUOTE]
I was looking for this today. Thanks!