Security Provider Help

Basically I have a user generated page that I only want the user who created it to be able to edit and anyone who isnt this user to be redirected, I assumed id something like the security identity but then on the enforcer how does this work, can I make this dynamic and in the future id like more than one user to be able to edit the page so the creator would give them a roll on their page (so here the security identity wouldn’t work as it only gets the creator) im just super lost on how to go about this.

Community Page
Last updated: