Skip to main content
Solved

Permission Function

  • Jun 15, 2023 5:24 PM UTC
  • 2 replies
  • 542 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

View original

2 replies

Pierre
Employee
Forum|alt.badge.img+9
  • Employee
  • Answer
  • Jun 16, 2023 8:20 AM UTC

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
  • Jun 16, 2023 8:22 AM UTC

Thanks @Pierre