How to Restrict DataSource and Dataset edit option in Report Designer

To restrict the DataSource and Dataset edit options in the Bold Reports® Angular Report Designer, use the permissionSettings property. For more details, see the PermissionSettings property.

   <bold-reportdesigner id="designer" [serviceUrl] = "serviceUrl" [permissionSettings]="permissionSettings">
</bold-reportdesigner>
export class AppComponent {
  public permissionSettings:string;

    constructor() {
        // Initialize the Report Designer properties here.
         this.permissionSettings='dataSet: ~ej.ReportDesigner.Permission.All,dataSource: ~ej.ReportDesigner.Permission.All';
    }
}