#1625 - Bug: Lost Comcode permissions after an upgrade
| Identifier | #1625 |
|---|---|
| Issue type | Major issue (breaks an entire feature) |
| Title | Bug: Lost Comcode permissions after an upgrade |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | core |
| Description | If you clear the caches, and a non-admin views non-page content that contains HTML or blocks, rendering errors may happen. |
| Steps to reproduce | |
| Additional information | Hotfix attached. |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
reset_comcode_ownership.php will reset all Comcode ownership to be that of the submitter of the resource it is attached to. For example, if you have a news article, the Comcode will be set to be owned by the submitter of that article.
Upload it, then open it up by URL (http://yourwebsite/reset_comcode_ownership.php). It should tell you it has finished and the SQL it has run (you don't need to run this SQL, it has been done for you). Then delete reset_comcode_ownership.php from your server.