문제

인증 된 사용자는 그룹을 추가하고 (권한이있는 경우) 사용자를 추가 할 수 있습니다 (사용자가 생성 한 그룹으로 추가) 및 그룹 또는 사용자에 대한 권한을 추가 할 수 있습니다.

그 작업을 해결하는 가장 좋은 방법은 무엇입니까?

도움이 되었습니까?

해결책

Although django's user/group models aren't set up in such a way as to restrict users so that they can only modify users/groups that they create, it is possible to implement.

Here is a django snippet which provides an example of object level permissions.

Perhaps you could elaborate on the problem you are attempting to solve.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top