PHPackages                             opengento/module-document-restrict - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. opengento/module-document-restrict

ActiveMagento2-module[Authentication &amp; Authorization](/categories/authentication)

opengento/module-document-restrict
==================================

This module aims to restrict documents by type in Magento 2.

1.0.0(4y ago)11.5kMITPHP

Since Jul 16Pushed 1y ago8 watchersCompare

[ Source](https://github.com/opengento/magento2-document-restrict)[ Packagist](https://packagist.org/packages/opengento/module-document-restrict)[ Docs](https://github.com/opengento/magento2-document-restrict)[ RSS](/packages/opengento-module-document-restrict/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Document Restrict Module for Magento 2
======================================

[](#document-restrict-module-for-magento-2)

[![Latest Stable Version](https://camo.githubusercontent.com/22d5347700439960f1bb889384db942d23917cb8225ad3afae0dc5fe6d8c2667/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e67656e746f2f6d6f64756c652d646f63756d656e742d72657374726963742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opengento/module-document-restrict)[![License: MIT](https://camo.githubusercontent.com/11f18c86572a6dcf5706c02bf412233873741f3d3eb601217a0fa22fea9c74c2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f70656e67656e746f2f6d6167656e746f322d646f63756d656e742d72657374726963742e7376673f7374796c653d666c61742d737175617265)](./LICENSE)[![Packagist](https://camo.githubusercontent.com/3edc66347b443137fbbfede59891aa22d6cdb521682515774b2e31b613825996/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f70656e67656e746f2f6d6f64756c652d646f63756d656e742d72657374726963742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opengento/module-document-restrict/stats)[![Packagist](https://camo.githubusercontent.com/bb4639eb5656d36f23793b5137c28b50ce2a6aa9811bc29049c98d07d344cf0c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6f70656e67656e746f2f6d6f64756c652d646f63756d656e742d72657374726963742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opengento/module-document-restrict/stats)

This module aims to restrict documents by type in Magento 2.

- [Setup](#setup)
    - [Composer installation](#composer-installation)
    - [Setup the module](#setup-the-module)
- [Features](#features)
- [Settings](#settings)
- [Documentation](#documentation)
- [Support](#support)
- [Authors](#authors)
- [License](#license)

Setup
-----

[](#setup)

Magento 2 Open Source or Commerce edition is required.

### Composer installation

[](#composer-installation)

Run the following composer command:

```
composer require opengento/module-document-restrict

```

### Setup the module

[](#setup-the-module)

Run the following magento command:

```
bin/magento setup:upgrade

```

**If you are in production mode, do not forget to recompile and redeploy the static resources.**

Features
--------

[](#features)

This module aims to restrict documents by type in Magento 2.
Document types can be restricted if the restrict feature is enabled.

Documentation
-------------

[](#documentation)

***In progress...***

Support
-------

[](#support)

Raise a new [request](https://github.com/opengento/magento2-document-restrict/issues) to the issue tracker.

Authors
-------

[](#authors)

- **Opengento Community** - *Lead* - [![Twitter Follow](https://camo.githubusercontent.com/f582f22fdefea808310d5426ff86d748569ab584a65c28c30eb34b72a73ba802/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f6f70656e67656e746f2e7376673f7374796c653d736f6369616c)](https://twitter.com/opengento)
- **Thomas Klein** - *Maintainer* - [![GitHub followers](https://camo.githubusercontent.com/e0e283f9de9d23a7bfeac3e6088a3a3a6844c123e1861f866242cd80e3361088/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f6c6c6f776572732f74686f6d61732d6b6c312e7376673f7374796c653d736f6369616c)](https://github.com/thomas-kl1)
- **Contributors** - *Contributor* - [![GitHub contributors](https://camo.githubusercontent.com/8dc2255003f76069444ef5d6be129d197c1b42456a1ca6136b2c2e1b85257080/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6f70656e67656e746f2f6d6167656e746f322d646f63756d656e742d72657374726963742e7376673f7374796c653d666c61742d737175617265)](https://github.com/opengento/magento2-document-restrict/graphs/contributors)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) details.

***That's all folks!***

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1768d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95669?v=4)[Thom](/maintainers/thomasklein)[@thomasklein](https://github.com/thomasklein)

---

Top Contributors

[![thomas-kl1](https://avatars.githubusercontent.com/u/20971693?v=4)](https://github.com/thomas-kl1 "thomas-kl1 (12 commits)")

---

Tags

acldocumentdownloadfilesmagentomagento-2magento-extensionmagento-modulemagento2magento2-extensionmagento2-extension-freemagento2-modulemanagementpermissionsrestrictphpauthAuthenticationmagentoextensionmoduledocumentmagento2restrict

### Embed Badge

![Health badge](/badges/opengento-module-document-restrict/health.svg)

```
[![Health](https://phpackages.com/badges/opengento-module-document-restrict/health.svg)](https://phpackages.com/packages/opengento-module-document-restrict)
```

###  Alternatives

[markshust/magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.

2282.7M6](/packages/markshust-magento2-module-disabletwofactorauth)[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1014.9k](/packages/opengento-module-webapi-logger)[maicol07/flarum-ext-sso

SSO for Flarum

468.3k](/packages/maicol07-flarum-ext-sso)[opengento/composer-registration-plugin

This plugin allows to compile the Magento2 components registrations on composer install/update.

111.6k](/packages/opengento-composer-registration-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
