1 Reply Latest reply on Aug 13, 2014 3:17 AM by mateuszboc RSS
    mateuszboc Explorer

    Visibility problem with styles on mashup

    Hi!

    I want to restrict visibility for some end users. So I removed "Users" group from 'Everyone' Organization. Than I give visibility for my organization using simple script: 


    for( var stylename in StyleDefinitions ) {

        var params = {

       

    principal: organizationName /* STRING /,</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>principalType: 'Organization' / STRING */

        };

        // no return

        StyleDefinitions[stylename].AddVisibilityPermission(params);

    }


    But still, regular test user see all data, streams etc. on mashup but

    there are no colors, no styles visible

    . Where is the problem. Did I omit something that visibility permission I should also change?