Hello friends,
I have derived a hotel system from the Blog module of my problem.
Then, only the person I authorized will be able to see the hotel I added to the unauthorized user.
I reached the file vendor/silverstripe/framework/src/Forms/GridField/GridField.php where I went for this. Here, I need to add an edit-disabled class to the table tr of the hotels that cannot be edited in the menu tree in the admin.
Thank you from now.
This is the menu tree view of the limited privileged user:
This is the sitetree menu image and its discarded class: