The following code below is supposed to display a status bar message but doesn't display for users with Read level or less permissions. At Contribute or higher they can see the status bar. I've tried just an javascript alert and it kicks off for Read users but this won't. I've also tried SP.SOD.executeFunc but get the same result.
Thanks for any help!
<script type="text/javascript">
var statusID = ' ';
ExecuteOrDelayUntilScriptLoaded(AddStatusMethod, "sp.js");
function AddStatusMethod()
{
this.statusId = SP.UI.Status.addStatus("NewsFlash", "Message");
SP.UI.Status.setStatusPriColor(this.statusId, "yellow");
}
</script>
Doug S