Skip to content

Commit

Permalink
Merge branch 'development' of github.com:Webiny/webiny-js into develo…
Browse files Browse the repository at this point in the history
…pment
  • Loading branch information
Pavel910 committed Mar 17, 2019
2 parents 4f9d520 + 9d98e44 commit aa83d5c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ export default [
resolvers: {},
security: {
shield: {
SettingsQuery: {
googleTagManager: hasScope("cms:settings")
},
SettingsMutation: {
googleTagManager: hasScope("cms:settings")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ export default [
},
MailchimpQuery: {
listLists: hasScope("cms:editor")
},
MailchimpMutation: {
addToList: hasScope("cms:editor")
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/demo-api/src/configs/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default async () => {
}
},
security: {
enabled: false,
enabled: true,
token: {
secret: process.env.WEBINY_JWT_SECRET,
expiresOn: () => addDays(new Date(), 30)
Expand Down
2 changes: 1 addition & 1 deletion packages/demo-api/src/configs/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async (context: Object) => {
}
},
security: {
enabled: false,
enabled: true,
token: {
secret: context.jwtSecret,
expiresOn: () => addDays(new Date(), 30)
Expand Down
3 changes: 0 additions & 3 deletions packages/webiny-api-cms/src/plugins/graphql.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ export default {
updateElement: hasScope("cms:element:crud"),
deleteElement: hasScope("cms:element:crud")
},
SettingsQuery: {
cms: hasScope("cms:settings")
},
SettingsMutation: {
cms: hasScope("cms:settings")
}
Expand Down
4 changes: 4 additions & 0 deletions packages/webiny-app-cms/src/editor/components/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ const Element = pure(
</Draggable>
{plugin.render({ element })}
</div>
{/*
<div className="add-element add-element--above">+</div>
<div className="add-element add-element--below">+</div>
*/}
</ElementContainer>
)}
</Transition>
Expand Down
2 changes: 1 addition & 1 deletion packages/webiny-ui/src/ImageEditor/ImageEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Toolbar = styled("div")({
justifyContent: "center",
alignItems: "center",
backgroundColor: "var(--mdc-theme-secondary)",
margin: "-20px -24px 0px -24px",
margin: "-24px -24px 0px -24px",
padding: 2,
position: "absolute",
width: "100%",
Expand Down

0 comments on commit aa83d5c

Please sign in to comment.