Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

User role issues

オープン
#57 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php
領域
authorization

調査の方向性

まず、issue に示されている plugin 設定を使って、Admin、Researcher、Contributor の公開コメントの可視性を再現します。コメントフォーム、見出し、既存のコメントを制御するロールチェックを追跡します。完了の条件は、各ロールが提案された可視性ルールに従うこと、または Admin に対して選択した動作が文書化され、一貫して適用されることです。

索引モデルが issue の本文から書いたものです。

説明

My plugin settings are as follows:

Image

With a user set to Admin, I can see the comment section on the public page, both the form and existing comments.

With the user set to Researcher, I can't see the form, but I can see existing comments. The heading appears whether there are comments or not.

Image

With the user set to Contributor, I can see the form - but without the heading?

Image

I think what should be happening is that:
Admin shouldn't be able to see the comment form OR existing comments.
Contributor should be able to see the heading.
Researcher shouldn't see the heading if there are no comments. Or, we could show a "There are no comments." message under it.

If there's a reason for Admin to always have access to everything, it should be removed as options from the plugin settings.

主要言語
PHP
スター
4
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

omeka/plugin-Commenting のほかの issue

omeka/plugin-Commenting の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。