app/views/scrivito/webservice/_workspace.json.jbuilder in scrivito_sdk-0.66.0.rc1 vs app/views/scrivito/webservice/_workspace.json.jbuilder in scrivito_sdk-0.66.0.rc2
- old
+ new
@@ -1,5 +1,8 @@
json.extract! workspace, :id, :title
+
json.memberships workspace.memberships do |membership|
json.extract! membership, :user_id, :role
json.description membership.user.description
end
+
+json.is_accessible can_user_read_workspace?(workspace)