app/views/scrivito/webservice/_workspace.json.jbuilder in scrivito_sdk-0.66.0 vs app/views/scrivito/webservice/_workspace.json.jbuilder in scrivito_sdk-0.70.0.rc1
- old
+ new
@@ -1,8 +1,9 @@
json.extract! workspace, :id, :title
+json.is_accessible can_user_read_workspace?(workspace)
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)
+json.outdated workspace.outdated?