Forum Discussion

Americo Perez's avatar
Americo Perez
Iron Contributor
Jul 02, 2018
Solved

I am really confused with the modern sharepoint permission rules!

Hi,

 

I have just created a modern team site to start testing site content types. 

I have not added any other user but the one that created the site, mine. Now, when i click on the site permissions settings I don't see my account there so I added my account to the owner group by my self. 

No when I create a site content type I get access denied when I try to upload a word template to the content type. 

I that is the part I don't understand, I am the owner and still I don't have access?

 

Best regards

Americo

 

 

 

  • It's me again,

     

    I found the solution. In each modern team site the custom script option has to be enabled, is not enough with the custom script activated in the root site, it has to be activated on the modern team site also. 

    Here is a script that do just that:

     

    Set-SPOSite https://tenant.sharepoint.com/sites/[modern team site name]-DenyAddAndCustomizePages 0

     

    Best regards

    Americo

2 Replies

  • It's me again,

     

    I found the solution. In each modern team site the custom script option has to be enabled, is not enough with the custom script activated in the root site, it has to be activated on the modern team site also. 

    Here is a script that do just that:

     

    Set-SPOSite https://tenant.sharepoint.com/sites/[modern team site name]-DenyAddAndCustomizePages 0

     

    Best regards

    Americo

    • Fromelard's avatar
      Fromelard
      Iron Contributor

      Dear Americo,

      The modern sites (Group Site) are now view only like file repository.

      The technical change we could do in the past (Theme management, Style page, Master page, Content Types, …) are locked by default.

       

      It means from your admin side, you need to authorize that customization and that is done via the command you found:

       

      Fab

       

Resources