manosim / manosim/django-rest-framework-docs

support needed in docs if using a third party library for permissions in a rest api

Open
#147 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.