Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

namespaced_decorator_factory should accept login_required, staff_required and permissions arguments #25

Open
valberg opened this issue Jan 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@valberg
Copy link
Owner

valberg commented Jan 26, 2024

The namespaced_decorator_factory should accept these argument so the resulting uses of the decorator are using the same restrictions.

Ie.

logged_in_view = namespaced_decorator_factory(namespace="logged_in", login_required=True)
@valberg valberg added the enhancement New feature or request label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant