Closed (fixed)
Project:
Entity JS
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2012 at 20:40 UTC
Updated:
30 Jul 2012 at 15:06 UTC
Jump to comment: Most recent file
Just as the title says. Right now the permissions are too open. We need to limit user roles to specific bundles for this module. This should be a serious help to security issues with entities that support bundles.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | entity-js-bundle-access-1704320-6.patch | 7.52 KB | dsdeiz |
| #4 | entity-js-bundle-access-1704320-3.patch | 7.79 KB | saltednut |
| #3 | entity-js-bundle-access-1704320-2.patch | 6.68 KB | saltednut |
| #1 | entity-js-bundle-access-1704320-1.patch | 6.72 KB | saltednut |
Comments
Comment #1
saltednutHere's an initial patch. This could perhaps use some refactoring to make the code cleaner but it works from my tests.
Comment #2
saltednutComment #3
saltednutHad some issues in #1 with Updating and Deleting entities that do not use bundles.
Comment #4
saltednutShould work with the latest branch and some very minor cleanup.
Comment #5
saltednutComment #6
dsdeiz commentedThis works on my end as well. Just some minor refactoring on generating the permissions.
Comment #7
saltednutmarking as fixed - nice cleanup on the permissions! dsdeiz++ http://drupalcode.org/project/entity_js.git/commit/7e73f19
Comment #8
saltednutComment #8.0
saltednutUpdated issue summary.