POST | /api/community | isAuthenticated() | createCommunity |
POST | /api/community/{communityId}/post | @RoleService.hasAnyRoleByCommunityId(#communityId, @CommunityRole.ADMIN) | createPost |
PUT | /api/post/{postId} | @RoleService.hasAnyRoleByPostId(#postId, @PostRole.EDITOR) | updatePost |
GET | /api/post/{postId} | @RoleService.hasAnyRoleByPostId(#postId, @PostRole.VIEWER) | getPost |