Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2011 at 14:04 UTC
Updated:
25 Oct 2011 at 13:40 UTC
Provides adminsitration settings to handle /node page access.
Once it is activated there are three posible configurations:
I haven't found a similar module.
It is for Drupal 7 but if in case users need a D6 version, it is easy to provide.
Link to my sandbox.
git clone --branch master git.drupal.org:sandbox/jherencia/1275646.git node_page_admin
Comments
Comment #0.0
jherencia commentedRequired information provided.
Comment #0.1
jherencia commentedChanged git user.
Comment #1
klausi* info file lists "core" twice
* "version" in info file is discouraged http://drupal.org/node/542202
* install file does not contain a class, so no need to list it in the info file
* same for the module file
* why do you set the variable in the install function? You have a default fallback anyway.
Comment #2
jherencia commentedThank you, I've made those changes.
Comment #3
klausi* comment "Changes variable names and" and what?
* comment "Install file for node_page_settings module." I think the module name is node_page_admin, no?
* indentation errors in node_page_admin_menu() and node_page_admin_settings_form(), use 2 spaces everywhere
* README.txt is missing
Comment #4
jherencia commentedAgain, thank you.
Comment #5
klausi* Git release branch is missing, see http://drupal.org/node/1015226
* lines in README.txt should not exceed 80 characters
* would be nice to have the path to the configuration page also in README.txt
* node_page_admin_menu_alter(): the switch() has a default case that does nothing, so you can remove the default case.
Comment #6
jherencia commentedI didn't know this, sorry.
Comment #7
klausi* "case NODE_PAGE_ADMIN_CORE" also in this case nothing is done, so remove this case as well.
but this is just a minor thing. RTBC for me!
Comment #8
nevets commentedWhat does this do that content access does not provide?
Comment #9
jherencia commented@klausi I've fixed that minor issue too.
@nevets They are modules for different purposes. I can't disable /node path with content access module, I can disable visibility of nodes of a certain type in both /node and /node/[nid], but not just for /node.
Comment #10
jherencia commentedComment #11
klausiDon't set your own issues to RTBC. However, I still think your module is justified, so I leave it as is.
Comment #12
jherencia commentedUps, sorry I thought the reasons were clear enough after my post, didn't know I should't change the status.
Thank you.
Comment #13
greggles@nevets at first I didn't understand this module and agreed with your perspective, however reading the project page it became more clear. This is about the "/node" page which lists all nodes promoted to the homepage on the site.
Thanks for your contribution, jherencia! Welcome to the community of project contributors on drupal.org.
I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Comment #14.0
(not verified) commentedFixed git instructions.