Skip to main content
Solved

Permission Function

  • June 15, 2023
  • 2 replies
  • 237 views

abhilashsawla
Master Author
Forum|alt.badge.img+7

I found Permission Syntax on community is 

permissions("{\"openBoard\": true , \"postConversation\":true }")

OpenBoard allows us to open the Board and postConversation allows us to comment on Board.

But I would like to know, if we would like to allow end user to configure board than what we need to write code in permission function.

Best answer by Pierre

hello!

Here is the syntax if you want to grant the “can Configure board” permission:

permissions("{\"openBoard\": true , \"postConversation\":true, \"configureBoard\":true  }")


Pierre

2 replies

Pierre
Community Manager
Forum|alt.badge.img+9
  • Community Manager
  • Answer
  • June 16, 2023

hello!

Here is the syntax if you want to grant the “can Configure board” permission:

permissions("{\"openBoard\": true , \"postConversation\":true, \"configureBoard\":true  }")


Pierre


abhilashsawla
Master Author
Forum|alt.badge.img+7
  • Author
  • Master Author
  • June 16, 2023

Thanks @Pierre