manosim / manosim/django-rest-framework-docs
support needed in docs if using a third party library for permissions in a rest api
Open
- Dominant language
- Python
- Stars
- 641
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Description
i am using a rest_condition to do OR between my two permissions. This gives me an error in __get_permission_class__ line 36 (i.e. perm_class.__name__): AttributeError: 'Condition' object has no attribute '__name__'.
Any help or support on this will highly be appreciated.
Contributor guide
Research direction
Start at __get_permission_class__ line 36 and review how the rest_condition Condition object is used with the permission lookup. Determine whether this third-party pattern is supported, then update the relevant documentation to explain the supported usage or limitation and confirm the reported error is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- api, authorization, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100