Hi @qasimidl
Do you have unique permission in your Site Page library? As the users in the group could aceess other location in the site, it seems that you have stopped inheriting permission in Site Page library like this:
If so, you need to create a same group in the page library.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.