{"id":25368244,"url":"https://github.com/discoverygarden/embargo","last_synced_at":"2025-09-16T03:33:36.287Z","repository":{"id":178997986,"uuid":"514647892","full_name":"discoverygarden/embargo","owner":"discoverygarden","description":"Embargo content indefinitely or till specified date, limiting access to specific users and/or IP addresses.","archived":false,"fork":false,"pushed_at":"2024-08-05T15:26:43.000Z","size":322,"stargazers_count":0,"open_issues_count":3,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-12-14T18:43:41.554Z","etag":null,"topics":["access-control","drupal","drupal-module","embargo"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/discoverygarden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-16T17:49:30.000Z","updated_at":"2024-11-14T06:57:42.000Z","dependencies_parsed_at":"2024-01-22T21:59:10.996Z","dependency_job_id":"e8f687f8-7929-40ed-b0fc-03a3f42d51fa","html_url":"https://github.com/discoverygarden/embargo","commit_stats":null,"previous_names":["discoverygarden/embargo"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discoverygarden%2Fembargo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discoverygarden%2Fembargo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discoverygarden%2Fembargo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discoverygarden%2Fembargo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discoverygarden","download_url":"https://codeload.github.com/discoverygarden/embargo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238930061,"owners_count":19554122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["access-control","drupal","drupal-module","embargo"],"created_at":"2025-02-15T00:36:38.142Z","updated_at":"2025-09-16T03:33:31.187Z","avatar_url":"https://github.com/discoverygarden.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Embargo\n\nEmbargo content indefinitely or till specified date, limiting access to specific users and/or IP addresses.\n\n\u003e This module is intended to be a successor to \u003chttps://github.com/discoverygarden/embargoes\u003e\n\n## Installation\n\nInstall as\n[usual](https://www.drupal.org/docs/extending-drupal/installing-modules).\n\n### Migrating from `embargoes`\n\nMigrations exist in the `migrate_embargoes_to_embargo` module for migrating from `embargoes`'s entities onto `embargo`'s.\nSee [the module's docs for more info](modules/migrate_embargoes_to_embargo/README.md).\n\n## Configuration\n\nConfiguration options can be set at `admin/config/content/embargo`,\nincluding a contact email and notification message.\n\nEmbargoes can be managed at `admin/content/embargo`.\n\nTo add an IP range for use on embargoes, navigate to\n`admin/content/embargo/range` and click 'Add IP range'. Ranges\ncreated via this method can then be used as IP address whitelists when creating\nembargoes. This [CIDR to IPv4 Conversion utility](https://www.ipaddressguide.com/cidr)\ncan be helpful in creating valid CIDR IP ranges.\n\n### `search_api` processor(s)\n\nWe have multiple `search_api` processors which attempt to constrain search\nresults based on the effects of embargoes on the entities represented by search\nresults, including:\n\n- `embargo_processor` (\"Embargo access (deprecated)\")\n  - Adds additional properties to the indexed rows, requiring additional index\n    maintenance on mutation of the entities under consideration, but should\n    theoretically work with any `search_api` backend\n- `embargo_join_process` (\"Embargo access, join-wise\")\n  - Requires Solr/Solarium-compatible index, and indexing of embargo entities in\n    the same index as the node/media/files to be search, tracking necessary info\n    and performing\n    [Solr joins](https://solr.apache.org/guide/solr/latest/query-guide/join-query-parser.html)\n    to constrain results\n\nTypically, only one should be used in any particular index.\n\n## Usage\n\n### Applying an embargo\n\nAn embargo can be applied to an existing node by clicking the\n\"Embargoes\" tab on a node, or navigating to\n`embargoes/node/{node_id}`. From here, an embargo can be applied if it doesn't\nalready exist, and existing embargoes can be modified or removed.\n\n## Known Issues/FAQ\n\n- Embargoed items show up in search results\n  - Enable one of our `search_api` processors to handle applying embargo restrictions.\n- \"Embargo access, join-wise\" does not show up as an available processor\n  - Ensure embargo entities are being indexed in the given index.\n  - Ensure that eligible node/media/files entities are being indexed in the\n    given index.\n\n## Troubleshooting/Issues\n\nHaving problems or solved a problem? Contact\n[discoverygarden](http://www.discoverygarden.ca/).\n\n## Maintainers/Sponsors\n\n* [discoverygarden](http://www.discoverygarden.ca/)\n\n## Attribution\nThis module is heavily based on and includes contributions from [discoverygarden/embargoes](https://github.com/discoverygarden/embargoes) which was forked from [fsulib](https://github.com/fsulib/embargoes) authored by [Bryan J. Brown](https://github.com/bryjbrown).\n\n## License\n[GPLv2](http://www.gnu.org/licenses/gpl-2.0.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscoverygarden%2Fembargo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscoverygarden%2Fembargo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscoverygarden%2Fembargo/lists"}