When you create a Google Apps Script and then deploy it as a web app, is it possible to have any sort of permission levels for people who use it? I have deployed a web app for my company (who uses GSuite) so the web app is limited so only people with @company.com email address can access it.
But is it possible to have any other finer controls over permissions? For example have super users? Or any other type of group level permissions that you can control and thus restrict content in the web app depending on those permissions?
I know that you can assign custom roles to users in the G Suite administrative interface. Is it possible from within a Google Apps Script web app to query what roles the logged in user has?