Answer:
A little bit of both. parents have to lay down rules and make sure they are followed. We are teaching our children how to be responsible adults. This is not always fun.
As a friend we let our children know we love them and we support them and we play with them. This is more fun. Unfortunately both aspects are important. As a parents teaching them to be an responsible adult, is much more important.
As disciplinarian implies no fun and rigid rules. Neither is actually correct. You must empathize and understand, as best possible, what is going on with the child. In reality, it is both. Enjoy the fun part of your child.
But make rules that need to be followed and consistently enforce them. Parenting is the hardest role you will ever have. But, take a deep breath and pray a lot. You and your child will both survive.