LICENSE.txt |
LICENSE.txt |
|
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave,
Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute
verbatim copies of this license document, but… |
module_grants.admin.inc |
module_grants.admin.inc |
|
Admin configuration settings for Module Grants. |
module_grants.api.php |
module_grants.api.php |
|
Hooks provided by the Module Grants module. |
module_grants.info |
module_grants.info |
|
name = Module Grants
package = Access control
description = Allows modules that operate on access grants to work together in the expected way.
core = "7.x"
files[] = module_grants.test |
module_grants.install |
module_grants.install |
|
Install and uninstall hooks for Module Grants module |
module_grants.module |
module_grants.module |
|
|
module_grants.node.inc |
module_grants.node.inc |
|
This file contains methods copied from node.module and modified to allow
ANDing of grants, which is handled a function call to module_grants_apply_node_access_grants_condition |
module_grants.test |
module_grants.test |
|
|
module_grants_content_access.info |
module_grants_content_access/module_grants_content_access.info |
|
name = Module Grants Content Access Support
package = Access control
description = Enable Module Grants specifically for the Content Access Module.
core = "7.x"
dependencies[] = content_access
dependencies[] = module_grants |
module_grants_content_access.module |
module_grants_content_access/module_grants_content_access.module |
|
Module to add support for the Content Access module.
Mostly needed to handle the 'all' realm that the Content Access module generates. |
module_grants_entity.info |
module_grants_entity/module_grants_entity.info |
|
name = Module Grants Entity
package = Access control
description = Module Grants integration with Entity module.
core = "7.x"
files[] = module_grants_entity.test
dependencies[] = entity
dependencies[] = module_grants |
module_grants_entity.module |
module_grants_entity/module_grants_entity.module |
|
This submodule will replace entity module's entity_metadata_no_hook_node_access's use
of node_access_view_all_nodes with module grants' _module_grants_node_access_view_all_nodes |
module_grants_entity.test |
module_grants_entity/module_grants_entity.test |
|
|
module_grants_entity_test.info |
tests/module_grants_entity_test.info |
|
name = "Module Grants Entity module tests module"
description = "Support module for Module Grants Entity related testing."
package = Testing
core = 7.x
hidden = TRUE |
module_grants_entity_test.module |
tests/module_grants_entity_test.module |
|
We need this module to create a page to test entity access |
module_grants_test_access_hook.info |
tests/module_grants_test_access_hook.info |
|
name = "Module Grants module test hook_node_access() module"
description = "Support module for Module Grants related testing. This module is used to verify hook_node_access() is working after module grants is enabled."
package =… |
module_grants_test_access_hook.module |
tests/module_grants_test_access_hook.module |
|
This module will implement hook_node_access() to change node access. |
module_grants_test_animal.info |
tests/module_grants_test_animal.info |
|
name = "Module Grants module tests (Animal)"
description = "Support module for Module Grants related testing. This module assigns grants based on animal"
package = Testing
core = 7.x
hidden = TRUE
dependencies[] =… |
module_grants_test_animal.module |
tests/module_grants_test_animal.module |
|
Dummy module implementing node access related hooks to test access interaction with
the Module Grants module. |
module_grants_test_base.info |
tests/module_grants_test_base.info |
|
name = "Module Grants module tests base module"
description = "Support module for Module Grants related testing. This module provides basic functions for other test modules."
package = Testing
core = 7.x
hidden = TRUE |
module_grants_test_base.module |
tests/module_grants_test_base.module |
|
All dummy modules will assign grants based on whether node's title containing a particular
keyword and user's permission.
All function takes $grants, which is an array keyed by realm, and value is another array of
keyword => gid, keyword… |
module_grants_test_color.info |
tests/module_grants_test_color.info |
|
name = "Module Grants module tests (Color)"
description = "Support module for Module Grants related testing. This module assigns grants based on color"
package = Testing
core = 7.x
hidden = TRUE
dependencies[] = module_grants_test_base |
module_grants_test_color.module |
tests/module_grants_test_color.module |
|
Dummy module implementing node access related hooks to test access interaction with
the Module Grants module. |
module_grants_test_number.info |
tests/module_grants_test_number.info |
|
name = "Module Grants module tests (Number)"
description = "Support module for Module Grants related testing. This module assigns grants based on number"
package = Testing
core = 7.x
hidden = TRUE
dependencies[] =… |
module_grants_test_number.module |
tests/module_grants_test_number.module |
|
Dummy module implementing node access related hooks to test access interaction with
the Module Grants module. |
README.txt |
README.txt |
|
DESCRIPTION
===========
This module gets around a quirk in the 7.x core Node module.
Currently the Node module:
- ORs together access grants coming from multiple modules; this results
in content being made accessible by one module when access had… |