Expanding on #13, we should add the ability to list Necessary cookies as well, under the “Cookies” tab.
As mentioned in #13, even though deleting necessary cookies is not a thing (since those cookies are essential for the proper functioning of the website and they do not require the explicit consent of a user), we still have to be able to list them to inform users about them.
A few key points to keep in mind:
This change may conflict with existing settings stored in the database for users who have installed versions older than 1.1.2 (the version that’s going to address this issue)
We’ll need to introduce a “migration” process when there are already settings stored in the database.
The migration should run both when:
Retrieving settings from the database with a version preceding 1.1.2 (plugin has been updated but we haven’t saved any settings with the new version)
Updating settings to ensure a seamless import of exported settings from older versions of the plugin
Expanding on #13, we should add the ability to list Necessary cookies as well, under the “Cookies” tab.
As mentioned in #13, even though deleting necessary cookies is not a thing (since those cookies are essential for the proper functioning of the website and they do not require the explicit consent of a user), we still have to be able to list them to inform users about them.
A few key points to keep in mind:
This change may conflict with existing settings stored in the database for users who have installed versions older than
1.1.2
(the version that’s going to address this issue)We’ll need to introduce a “migration” process when there are already settings stored in the database.
The migration should run both when:
Retrieving settings from the database with a
version
preceding1.1.2
(plugin has been updated but we haven’t saved any settings with the new version)Updating settings to ensure a seamless import of exported settings from older versions of the plugin
(cc: @mohammad425)