0 Replies Latest reply: Nov 28, 2016 6:24 PM by Amien Amien RSS

    Why does this contributor rule doesn't do what i want?

    Amien Amien

      !resource.App.stream.Empty() and

      user.@UserType="Contributor" and

      resource.App.HasPrivilege("read") and (resource.objectType = "userstate" or  resource.objectType = "sheet") and !user.IsAnonymous()

       

      Resource file : App.Object*

      Actions : Create

      Context : Only on Hub

       

      The contributor can now create there own sheets. Great, but now i want to add two things which doesn't work:

       

      * The contributor should only be able to use Master Items, not the rest

      * The contributor should be able to publish the sheet as a community sheet (also added action = publish which doesn't work)

       

      What do i need to add to the rule?

      Thanks in advanced