There is a permission that makes users re-accept the warning every time they log in (at least it sounds like that). I believe anyone would take this permission to mean a user role must check the box in the modal upon every log in. If that is not what it means can you explain what the text for the permission below actually does? It's a little misleading if it's meant users who are not new have to accept the "legal entity". I guess all I need to do is delete the table that stores acceptances.

Below is what the permission says verbatim

Re-accept "warning_messages"
Existing user roles that must re-accept the legal document

Comments

Prodigy created an issue. See original summary.

Prodigy’s picture

Issue summary: View changes
codesidekick’s picture

It looks to me like this is an issue with wording. From my memory this feature prompts users to accept new versions of entity legal documents they've previous accepted. Feel free to issue a patch for the wording and we'll try and get it in.

If you want to force acceptance on every log in I'd look at using session variables for that and updating the existing acceptance with a new acceptance date (if that's important for your use case).

Prodigy’s picture

I was able to erase each user's acceptance on logout by creating a custom module and simply adding this:

function yourmodulename_user_logout($account) {
    // ensure that users are prompted to accept
    // legal documents when the come back into the site
    db_delete('entity_legal_document_acceptance')
        ->condition('uid', $account->uid)
        ->execute();
}
Prodigy’s picture

Category: Bug report » Feature request
Status: Active » Needs review
Prodigy’s picture

Prodigy’s picture

Category: Feature request » Bug report
Priority: Major » Normal
Status: Needs review » Patch (to be ported)