@bglbgl gwyng
@hongminhee洪 民憙 (Hong Minhee)
@xiniha 저도 scope-auth 플러그인을 사용하고 있긴 한데... 백엔드에서의 권한 처리보다는 스키마에서 권한에 따라 어떤 필드가 생기고 어떤 필드가 안 생기는지 그런 걸 의미적으로 클라이언트에게 보여주고 싶어서 채택한 구조였어서...
@robin
@hongminhee洪 民憙 (Hong Minhee)
@bglbgl gwyng 요거는 아마 최선이 User - Viewer 나눠서 조회자만 볼 수 있는 필드 모아두듯이 각 권한별로 타입을 나눠서 기본 타입에 서브필드로 넣는 정도가 아닐까 싶어요 🤔 물론 그렇게 하는 게 좋은 방법일지는...... 😅
If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/0198076d-8e50-7fef-807d-a598823f093e on your instance and quote it. (Note that quoting is not supported in Mastodon.)