Set the Access= attribute for the repository. This example results in full access for the repository.


proc metadata 
   in="<UpdateMetadata>
        <Metadata>
         <RepositoryBase id='A0000001.A58LN5R2' Access='0'/>
        </Metadata>
        <NS>repos</NS>
        <Flags>268435456</Flags>
       </UpdateMetadata>";
   run;