CentreForDigitalHumanities / CentreForDigitalHumanities/Textcavator

change download limit to permission

Open
#1,227 0 comments 1 reaction 0 assignees View on GitHub
backend
Dominant language
Python
Stars
12
Forks
3
Avg merge
3d 3m
Merged PRs (30d)
9

Description

Implement the download limit as a django permission, rather than a field in the user model

The download limit is currently saved as an integer, but I think it would actually be fine to turn this into a boolean flag: download size is either limited (to the value configured in settings), or unlimited.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the user-model download-limit field and the code that enforces download sizes, then inspect how Django permissions are configured in the project. Done means the limit is represented by a permission and downloads use the configured size for limited users while allowing unlimited users.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
authorization, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.