Skip to content

Commit

Permalink
Updated default content for authentication needed for decoupled apps.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinay15 committed Jun 15, 2020
1 parent 9c15609 commit b3491e3
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 201 deletions.
26 changes: 26 additions & 0 deletions config/install/user.role.api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,31 @@ label: 'Api user'
weight: -5
is_admin: null
permissions:
- 'access_unpublished block_content cards'
- 'access_unpublished block_content content_listing_component'
- 'access_unpublished block_content embed_block'
- 'access_unpublished block_content hero_media_block'
- 'access_unpublished block_content map_block'
- 'access_unpublished block_content paragraph_content'
- 'access_unpublished block_content referenced_cards'
- 'access_unpublished block_content social_media'
- 'access_unpublished block_content text_block'
- 'access_unpublished media gallery'
- 'access_unpublished media image'
- 'access_unpublished media instagram'
- 'access_unpublished media tweet'
- 'access_unpublished media video'
- 'access_unpublished menu_link_content'
- 'access_unpublished node article'
- 'access_unpublished node smart_article'
- 'access_unpublished paragraph from_library'
- 'access_unpublished paragraphs_library_item'
- 'access_unpublished taxonomy_term highlights'
- 'access_unpublished taxonomy_term tags'
- 'administer display modes'
- 'administer menu'
- 'configure any layout'
- 'use text format restricted_html'
- 'view all revisions'
- 'view latest version'
- 'view media'
99 changes: 0 additions & 99 deletions content/consumer/2ea87cec-703f-4908-8f3d-2689c7ec3723.json

This file was deleted.

99 changes: 99 additions & 0 deletions content/consumer/7bb6ea1b-65fe-48da-95ab-e91a3641a73a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"_links": {
"self": {
"href": "http:\/\/default\/admin\/config\/services\/consumer\/2?_format=hal_json"
},
"type": {
"href": "http:\/\/drupal.org\/rest\/type\/consumer\/consumer"
},
"http:\/\/drupal.org\/rest\/relation\/consumer\/consumer\/owner_id": [
{
"href": "http:\/\/default\/user\/0?_format=hal_json",
"lang": "en"
}
]
},
"id": [
{
"value": 2
}
],
"uuid": [
{
"value": "7bb6ea1b-65fe-48da-95ab-e91a3641a73a"
}
],
"langcode": [
{
"value": "en",
"lang": "en"
}
],
"_embedded": {
"http:\/\/drupal.org\/rest\/relation\/consumer\/consumer\/owner_id": [
{
"_links": {
"self": {
"href": "http:\/\/default\/user\/0?_format=hal_json"
},
"type": {
"href": "http:\/\/drupal.org\/rest\/type\/user\/user"
}
},
"uuid": [
{
"value": "bdb1f162-2864-4083-a4cb-e53330c5ed46"
}
],
"lang": "en"
}
]
},
"label": [
{
"value": "Decoupled Apps",
"lang": "en"
}
],
"description": [
{
"value": "EZContent API User for Decoupled Apps.",
"lang": "en"
}
],
"third_party": [
{
"value": true,
"lang": "en"
}
],
"is_default": [
{
"value": false,
"lang": "en"
}
],
"default_langcode": [
{
"value": true,
"lang": "en"
}
],
"confidential": [
{
"value": false,
"lang": "en"
}
],
"roles": [
{
"target_id": "api"
}
],
"pkce": [
{
"value": false,
"lang": "en"
}
]
}

0 comments on commit b3491e3

Please sign in to comment.