Closed (fixed)
Project:
Paranoia
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Dec 2010 at 01:13 UTC
Updated:
24 Apr 2012 at 22:55 UTC
Jump to comment: Most recent file
Since Drupal.org is using this, we'll need this module to be upgraded to Drupal 7 before we can move Drupal.org itself over.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | paranoia_d7-1007074-9.patch | 6.45 KB | mgifford |
| #1 | paranoia_d7.patch | 6.27 KB | berdir |
Comments
Comment #1
berdirHere is a patch, please test.
Notes:
- AFAIK, everything PHP related should now go through php.module, correct? Completely removed the permission stuff...
- The structure of system_modules is a bit different now, I've changed to hook to also include the package name. Positive side of that change, only a single unset() is now required, not 10 or so anymore. Also removed the helper function because of that.
- In the user account form, I've also hidden the current password. Wondering if there is a reason to not hide the complete account fieldset?
Comment #2
berdirComment #3
coltrane#1 is against DRUPAL-6--1 rather than HEAD, it seems that HEAD needs the hook_paranoia_revoke() and other recent commits.
Changing version till HEAD is in sync.
Comment #4
Niklas Fiekas commentedSubscribe.
Comment #5
seandunaway commentedsubscribe
Comment #6
pwolanin commentedShould prevent permissions flagged as dangerous from being assigned to anonymous (and authenticated?) users.
Comment #7
mgiffordThanks for the patch @Berdir - I'll try to look at the patch & run in through coder, but probably won't happen till the end of September. Hopefully someone can do this before hand. @webchick defined this issue well. Patch doesn't even look that big.
Comment #8
j0nathan commentedSubscribing.
Comment #9
mgifford@Berdir - that was good. There were a couple very minor things that coder pointed out (spacing & docs mostly). I cleaned those up. I also changed the wording in the install file so that the grammar is better.
Anyways, I didn't change anything of substance and think it will be fine to mark it RTBC. Like with #1 I went with DRUPAL-6--1 from git.
Now how to we get this into a release after one more review?
Comment #10
ximo commentedCode looks good, and it does what it's supposed to do. I'd say it's ready to be committed.
Comment #11
gregglesWeee!
I committed this straight. It may be perfect (or may not) but at least we have something to work with http://drupalcode.org/project/paranoia.git/commit/f7f3b98
I created a release at http://drupal.org/node/1358516 - we may have to wait for that.
Comment #12
gregglesRelease is on the project page - http://drupal.org/node/1358516
Comment #14
gregglesFor those interested in this port, I've posted a patch where I renamed the hook_paranoia_hide to hook_paranoia_hide_modules. That way we can hide more things.
#1358612-1: Prevent granting permissions flagged as dangerous from being assigned to anonymous (and authenticated) users..