It means you’re not debarred from having food (6)
I believe the answer is:
entree
'food' is the definition.
(I know that entree is a type of dish)
I cannot understand how the remainder of the clue works.
Can you help me to learn more?
(Other definitions for entree that I've seen before include "Dish allowing one to go in?" , "Principal dish and right to enter" , "Main course dish" , "The right of admission or entry" , "part of meal" .)