Deleted/Inactive does not work for resource on Portal Studio

[CR #341540] In Portal Studio, when you mark a resource as Deleted/Inactive, it still works normally. Users can still log in to the Deleted/Inactive Resource in Portal Studio and create any objects.

Workaround: None.