Subobject access policy (ie, what's intended here) has nothing to do with "declareProtected".
Attach a file by drag & drop or click to upload