Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M moodle-assignsubmission_dta
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CoTA
  • moodle-assignsubmission_dta
  • Issues
  • #6
An error occurred while fetching the assigned iteration of the selected issue.
Closed
Open
Issue created 6 months ago by Khalani@32khsa1mstMaintainer
  • New related issue

  • Report abuse

  • New related issue

  • Report abuse

Improvement: privacy provider change for recommendations table

Closed

Improvement: privacy provider change for recommendations table

Need to include the changes related to new recommendations table in privacy provider.

  1. Oh no!

    You are trying to upload something other than an image. Please upload a .png, .jpg, .jpeg, .gif, .bmp, .tiff or .ico.

    Incoming!

    Drop your designs to start your upload.
Tasks
0
server returned results with length 1, expected length of 2

Linked items
0


  • Khalani @32khsa1mst assigned to @32khsa1mst 6 months ago

    assigned to @32khsa1mst

  • Khalani @32khsa1mst created branch 6-improvement-privacy-provider-change-for-recommendations-table to address this issue 6 months ago

    created branch 6-improvement-privacy-provider-change-for-recommendations-table to address this issue

  • Lückemeyer
    Lückemeyer @gero.lueckemeyer · 5 months ago
    Owner

    Create a limited moodle user. Test by running the course example. Then check the database entries e.g. in the recommendations table using any sql tool. Submit as limited user. Go to thje user's settings and look for data privacy. Issue an overview request. Then issue a delete request. Re-check the database.

  • mamunozgil @miguel.munoz-gil added InProgress label 5 months ago

    added InProgress label

  • Khalani
    Khalani @32khsa1mst · 5 months ago
    Author Maintainer

    Unable to test the feature as no option for data requests under Privacy and Policies section in profile settings.

    Edited by Khalani 5 months ago
  • Lückemeyer
    Lückemeyer @gero.lueckemeyer · 4 months ago
    Owner

    The admin user needs to go to the Site Administration/User/Privacy and Policies/Privacy Settings page. There, set at least "Contact the Privacy Officer", possibly also "Automatic data export request approval", maybe not "Autoamtic data deletion request approval".

  • Khalani
    Khalani @32khsa1mst · 4 months ago
    Author Maintainer

    that way it gives the option to make the data export and deletion request, when the user create the deletion request and privacy officer approves the request. it deletes the personal data of the user and it's account as well. but it does not delete submission, summary, results and recommendations data from the data base.

  • Lückemeyer
    Lückemeyer @gero.lueckemeyer · 4 months ago
    Owner

    in line 245 it says ASSIGNSUBMISSION_FILE_FILEAREA which is missing the trailing _SUBMISSION from the constant definition. Maybe that is the reason.

    • Lückemeyer
      Lückemeyer @gero.lueckemeyer · 4 months ago
      Owner

      Test setup: As per the documentation user must make a request for data overview and deletion from the same.

      I have tried below mentioned approach based on the documentation still the option is not there.

      Created a role "Privacy Officer (PO)" Assigned all required capabilities to the PO Assigned the PO role to the admin user created and submitted from the limited user.

    • Khalani
      Khalani @32khsa1mst · 4 months ago
      Author Maintainer

      to make the option visible we have to make changes as per your suggestions set at least "Contact the Privacy Officer", possibly also "Automatic data export request approval in privacy settings page under site administration

    • Please register or sign in to reply
  • Khalani
    Khalani @32khsa1mst · 4 months ago
    Author Maintainer

    Found the issues in the delete personal data functionality and the export data, there were multiple bugs in the existing code

    For delete functionality

    1. 'ASSIGNSUBMISSION_DTA_FILEAREA_SUBMISSION' is a class level constant and it was imported as normal variable, instead it should be used with statement '\assignsubmission_dta\privacy\provider::ASSIGNSUBMISSION_DTA_FILEAREA_SUBMISSION'
    2.      Data base fields in all 3 tables are 'assignment_id' & 'submission_id' but in all the queries in the provider they were referenced as 'assignmentid' & 'submissionid', due to the mismatch in the database field name and query fields no records were being deleted.

    For Export data functionality

    1. similar to above issues
    2. get_files() function is not global function but were called as global function, had to be called as instance method.
    3. Work-In-Progress: get_files() method defination and call gives mismatch type error for $submission (error message given below).
    ERROR "provider::get_files(): Argument #1 ($submission) must be of type assignsubmission_dta\privacy\stdClass, stdClass given. "
    Edited by Khalani 4 months ago
  • mamunozgil @miguel.munoz-gil removed InProgress label 4 months ago

    removed InProgress label

  • mamunozgil @miguel.munoz-gil added Test label 4 months ago

    added Test label

  • Khalani
    Khalani @32khsa1mst · 4 months ago
    Author Maintainer

    test and merged

  • Khalani @32khsa1mst closed 4 months ago

    closed

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Assignee
Khalani's avatar
Khalani
Assign to
Epic
No epic
None
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
Iteration
No iteration
None
Weight
None
None
Due date
None
None
None
Time tracking
No estimate or time spent

None

Health status

    Assign health status


None

Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

Lock issue
Unlocked
0
0 participants
Reference:

Menu

Explore Projects Groups Snippets

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal