Problem/Motivation

Besides the possibiliy to manage users, which can access a certain entity on the config page of this entity (administer which users can access a certain entity), it would also be nice if it would be possible to administer, which entities a certain user can access.

Our usecase: If we have to revoke the access of a student to certain entities, it is neccessary to see all the entities he already entered the password. It is obviously not very efficent to check thousands of entities to look if the student is allowed to some of them.

Furthermore it is sometimes necessary to unlock a certain amount of entities for a certain user at once.

Proposed resolution

Add a page on the user config page with all lectures to which the student has access without entering a password. This should only be possible for admins with a corresponding permission. Present this information maybe as a checkbox list and the title of the entity, so that these "permissions" can be easily removed, maybe with a checkbox "remove all".

Furthermore add some ui element (e.g. a textfield) where commaseparated entitiy-ids can be entered. These entityIDs should be added to the database as entities, where the user does not have to enter the password.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

meyerrob created an issue. See original summary.

meyerrob’s picture

Issue summary: View changes
grimreaper’s picture

Assigned: Unassigned » grimreaper

  • Grimreaper committed 9f6c777 on 1.0.x
    Issue #3258955 by Grimreaper: Fix Coding standards.
    

grimreaper’s picture

Title: Add the possibilty to add / remove permission to access entity without password on user page » Handle password user data access per user

WIP MR.

TODO:
- bundle access level
- update documentation
- implement hook_entity_delete to purge user_data when content is deleted

grimreaper’s picture

Status: Active » Needs work

  • Grimreaper committed 9eedcf2 on 1.0.x
    Issue #3258955 by Grimreaper, meyerrob: Handle password user data access...
grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.