What does isCurrentWorkspaceEditor mean #15239

Closed
opened 2026-02-21 19:20:49 -05:00 by yindo · 1 comment
Owner

Originally created by @Haddyshu on GitHub (Jul 10, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

What does isCurrentWorkspaceEditor mean? Whether there is a keyword that can find the specific app creator.

Originally created by @Haddyshu on GitHub (Jul 10, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Provide a description of requested docs changes What does isCurrentWorkspaceEditor mean? Whether there is a keyword that can find the specific app creator.
yindo closed this issue 2026-02-21 19:20:50 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jul 10, 2025):

Hi @Haddyshu! I'm Dosu and I’m helping the dify team.

isCurrentWorkspaceEditor is a boolean in the Dify frontend that tells you if the current user has the role of "owner", "admin", or "editor" in the current workspace. It's used to control whether the user can access editing features or UI elements—if true, the user can edit things like apps, datasets, or workflow settings in that workspace. This is determined by checking if currentWorkspace.role is one of those three roles in the app context logic (source).

As for finding the specific app creator, there isn't a documented keyword or variable like "creator" or "created_by" exposed in the frontend or docs. If you need to identify the app creator, you may need to look for backend API fields or database schema related to app ownership, as it's not surfaced in the current frontend context or documentation.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Jul 10, 2025): <!-- Greeting --> Hi @Haddyshu! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify team. <!-- Answer --> isCurrentWorkspaceEditor is a boolean in the Dify frontend that tells you if the current user has the role of "owner", "admin", or "editor" in the current workspace. It's used to control whether the user can access editing features or UI elements—if true, the user can edit things like apps, datasets, or workflow settings in that workspace. This is determined by checking if currentWorkspace.role is one of those three roles in the app context logic ([source](https://github.com/langgenius/dify/blob/94a13d7d62067f427d2419a5b8541c2236d95a40/web/context/app-context.tsx)). As for finding the specific app creator, there isn't a documented keyword or variable like "creator" or "created_by" exposed in the frontend or docs. If you need to identify the app creator, you may need to look for backend API fields or database schema related to app ownership, as it's not surfaced in the current frontend context or documentation. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/9cda99ea-b950-4e2d-a3d7-10775be1270c?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/9cda99ea-b950-4e2d-a3d7-10775be1270c?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/9cda99ea-b950-4e2d-a3d7-10775be1270c?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/9cda99ea-b950-4e2d-a3d7-10775be1270c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9cda99ea-b950-4e2d-a3d7-10775be1270c?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/9cda99ea-b950-4e2d-a3d7-10775be1270c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9cda99ea-b950-4e2d-a3d7-10775be1270c?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/22145)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#15239