How to get a list of all user and group restrictions configured in your Team Calendars

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

目的

If you are an administrator of Confluence and you'd like to check what are the restrictions applied to all of the Calendars in your Confluence instance, you may then use the following query.

ソリューション

To list users that have restrictions applied to your available Calendars:

Postgres

SELECT tc."ID" AS "Calendar ID", "tc"."NAME" AS "Calendar Name", "tcp"."TYPE" AS "Restrictions Type", "um"."username" AS "Username" FROM "AO_950DC3_TC_SUBCALS_PRIV_USR" tcp LEFT JOIN "user_mapping" um ON um."user_key" = tcp."USER_KEY" LEFT JOIN "AO_950DC3_TC_SUBCALS" tc ON tc."ID" = tcp."SUB_CALENDAR_ID";

MySQL

SELECT TC.ID as CALENDAR_ID , TC.NAME as calendar_name , TCP.`TYPE` as resctrictions_type, UM.username as username FROM AO_950DC3_TC_SUBCALS_PRIV_USR TCP LEFT JOIN user_mapping UM ON UM.user_key = TCP.USER_KEY LEFT JOIN AO_950DC3_TC_SUBCALS TC ON TC.ID = TCP.SUB_CALENDAR_ID;

To list groups that have restrictions applied to your available Calendars:

Postgres

SELECT tc."ID" AS "Calendar ID", "tc"."NAME" AS "Calendar Name", "tcp"."TYPE" AS "Restrictions Type", tcp."GROUP_NAME" FROM "AO_950DC3_TC_SUBCALS_PRIV_GRP" tcp LEFT JOIN "AO_950DC3_TC_SUBCALS" tc ON tc."ID" = tcp."SUB_CALENDAR_ID";

MySQL

SELECT TC.ID as CALENDAR_ID , TC.NAME as calendar_name , TCP.`TYPE` as resctrictions_type, TCP.GROUP_NAME as GROUP_NAME FROM AO_950DC3_TC_SUBCALS_PRIV_GRP TCP LEFT JOIN AO_950DC3_TC_SUBCALS TC ON TC.ID = TCP.SUB_CALENDAR_ID;

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。