See some slide of a carousel according to the rights

Hello,

I developed a caroussel with some slide (my code looks like this : https://codepen.io/SitePoint/pen/KwBWJd). I would like to know if it was possible to display some slide according to the rights (example: admin can see 3 slide, a visitor 1 or 2)?

Sorry if my English is rough, I’m French 🙂 !

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/4/feed