Skip to content

Commit a8dc0d7

Browse files
🩹 [Patch]: Allow compatible Context 8.x; document shortened scope form in help
1 parent 6712085 commit a8dc0d7

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎SCOPES.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ When you create the token for the service account, select **granular** Confluenc
88
scopes (not the classic `*-confluence-*` scopes). Use this document when
99
generating or rotating a token.
1010

11+
> Note: cmdlet help lists scopes in a shortened form (for example `read:page`),
12+
> omitting the `:confluence` suffix for brevity. The canonical, fully-qualified
13+
> scope strings you grant on the token are the ones in this document (for example
14+
> `read:page:confluence`).
15+
1116
## Configured scopes
1217

1318
The token is currently configured with **48** granular Confluence scopes

‎src/functions/public/API/Invoke-ConfluenceRestMethod.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Requires -Version 7.0
2-
#Requires -Modules @{ ModuleName = 'Context'; RequiredVersion = '8.1.6' }
2+
#Requires -Modules @{ ModuleName = 'Context'; ModuleVersion = '8.1.6'; MaximumVersion = '8.*' }
33

44
#SkipTest:FunctionTest:Integration tests are added once the repository Confluence credentials are configured.
55
function Invoke-ConfluenceRestMethod {

‎src/functions/public/BlogPosts/Get-ConfluenceBlogPost.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
function Get-ConfluenceBlogPost {
33
<#
44
.SYNOPSIS
5-
Get blog posts (read:blogpost:confluence).
5+
Get blog posts (read:blogpost).
66
77
.DESCRIPTION
88
Returns a single blog post by id, the blog posts in a space, or all blog

0 commit comments

Comments
 (0)