strongloop / strong-remoting

Communicate between objects in servers, mobile apps, and other servers.
www.strongloop.com
Other
105 stars 93 forks source link

sharedMethod and accessScopes #479

Closed limitlis closed 4 years ago

limitlis commented 4 years ago

Hello 👋

Been struggling through this issue i'm having and I think i've narrowed it (partially perhaps) to /lib/shared-method.js.

Loopback proper specifically looks at this.sharedMethod.accessScopes when checking permissions. But if you look here: https://github.com/strongloop/strong-remoting/blob/master/lib/shared-method.js#L114

You can see that accessScopes isn't passed through.

Is there a specific reason for this? Or some method of setting a property on a sharedMethod post app launch/initialization so that it gets referenced in getScopes?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.