Introduce more granular permissions to CCC
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3563036. --> Reported by: [kristen pol](https://www.drupal.org/user/8389) Related to !15 >>> <p>[Tracker]<br> <strong>Update Summary: </strong>Introduce more granular permissions to CCC<br> <em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br> [/Tracker]</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Right now, any editor with "administer ai context" can use all of the context features.</p> <p>We want less technical users to be able to use some of the system, while technical users can focus on more complex things.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Add more granular permissions. For now, these are:</p> <p><strong>administer ai context</strong> - keep this and use it for pools and settings</p> <p><strong>context item related:</strong></p> <ul> <li>view ai context items</li> <li>create ai context item</li> <li>edit own ai context item</li> <li>edit any ai context item</li> <li>delete own ai context item</li> <li>delete any ai context item</li> </ul> <p>Once adding revisions, we'll add revision ones like:</p> <ul> <li>view ai context item revisions</li> <li>revert ai context item revisions</li> <li>delete ai context item revisions</li> </ul> <h3 id="summary-remaining-tasks">Target date or deadline</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <ul> <li>Update perms</li> <li>Test and merge</li> </ul> <h3 id="summary-ai-usage">AI usage</h3> <p>The code associated with this issue was developed with the use of AI tools.</p> <p>A human worked with the AI tool to:</p> <ul> <li>Define the requirements</li> <li>Spec out the plan and architecture</li> <li>Create the code</li> </ul> <p>The human:</p> <ul> <li>Reviewed the code</li> <li>Manually tested the functionality</li> <li>Requested adjustments from AI</li> <li>Adjust the code themselves when necessary</li> </ul> <p>Issue credit is still relevant for the human working with AI as they are using AI as a tool and not to do everything for them. It takes human expertise and oversight to use AI to solve these issues efficiently and effectively.</p>
issue