Problem assigning roles to album - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Problem assigning roles to album

  • Problem assigning roles to album
  • Hi,

    I tried to set permission to an album inside a library but it is not working. Just a simple code below breaking the inheritance is also not working. Does anyone know what is wrong?

    public void SetPermissionForImageLibrary(Guid albumId)
           
               var album = App.WorkWith().Album(albumId).Get();
     
               LibrariesManager manager = LibrariesManager.GetManager();
               manager.BreakPermiossionsInheritance(album);
     
               manager.SaveChanges();