Skip to content

Expose reporting information for activities - #56

Open
beverloo wants to merge 1 commit into
AnimeNL:masterfrom
beverloo:master
Open

beverloo wants to merge 1 commit into
AnimeNL:masterfrom
beverloo:master

Conversation

@beverloo

Copy link
Copy Markdown
Contributor

Activity::reportToName() exposes the full name of the activity's owner ("Peter Beverloo"), and Activity::reportToEmail() exposes their e-mail address. Access is limited to grants that include the events.read scope.

I intentionally chose for a flat design, limiting direct exposure of Visitor as much as possible given that the table contains sensitive information. It's marked with readOnly=true and setters are omitted for the same reasons.

@beverloo

Copy link
Copy Markdown
Contributor Author

For transparency, as with all other contributions I've made to this repository, I can't actually test this. I gave Gemini the database structure and it's happy with the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants