File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ function _Embed_BasicEmbed() {
19
19
// Get models. models contains enums that can be used.
20
20
var models = window [ 'powerbi-client' ] . models ;
21
21
22
- // We give permissions of Copy and Read to demonstrate switching between View and Edit mode.
23
- var permissions = models . Permissions . Copy | models . Permissions . Read ;
22
+ // We give All permissions to demonstrate switching between View and Edit mode and saving report .
23
+ var permissions = models . Permissions . All ;
24
24
25
25
// Embed configuration used to describe the what and how to embed.
26
26
// This object is used when calling powerbi.embed.
@@ -737,4 +737,4 @@ function _Events_SaveAsTriggered() {
737
737
// You should see an entry in the Log window.
738
738
739
739
Log . logText ( "Select SaveAs to see events in Log window." ) ;
740
- }
740
+ }
You can’t perform that action at this time.
0 commit comments