You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/07/20 03:20:49 UTC

[GitHub] [incubator-dolphinscheduler] yoreyuan opened a new issue #3247: [Feature][ui]Admin users can click to view doc.html or swagger-ui.html

yoreyuan opened a new issue #3247:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3247


   Admin users can click here to view the api document after logging in to DS. As shown below
   
   ![API doc](https://cdn.nlark.com/yuque/0/2020/png/649951/1595214220711-e41f30c2-2ef5-420c-8bd8-a61141c370e4.png)
   
   After clicking, it can jump to [http://hostname:port/dolphinscheduler/doc.html]() or [http://hostname:port/dolphinscheduler/swagger-ui.html](). 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] chengshiwen commented on issue #3247: [Feature][ui]Admin users can click to view doc.html or swagger-ui.html

Posted by GitBox <gi...@apache.org>.
chengshiwen commented on issue #3247:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3247#issuecomment-817116124


   Related issue: #4499


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] dailidong commented on issue #3247: [Feature][ui]Admin users can click to view doc.html or swagger-ui.html

Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #3247:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3247#issuecomment-745749636


   > > Hi,
   > > I think it is a good feature to add `http://hostname:port/dolphinscheduler/doc.html` for admin and it is easy to implement.
   > > **Anyone who want to implement it , please leave a message.**
   > > `Noted`: What's the important is that the authority, and we should pay attention to the authority. For dev branch, I test and find anyone who have not logged in can reach the `http://xxx/dolphinscheduler/doc.html`.
   > > Suggest to control the permissions of the `swagger doc interface` although there is already has the permission check when user call the api.
   > 
   > I have implemented the UI part. As you said, `doc.html` or `swagger-ui.html` without user authentication, everyone can access if they know the connection, I am considering how to implement this part of authentication.
   
   I don't think API interface need user authentication, it's open API for everyone to use


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] yangyichao-mango edited a comment on issue #3247: [Feature][ui]Admin users can click to view doc.html or swagger-ui.html

Posted by GitBox <gi...@apache.org>.
yangyichao-mango edited a comment on issue #3247:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3247#issuecomment-662445218


   Hi,
   I think it is a good feature to add `http://hostname:port/dolphinscheduler/doc.html` for admin and it is easy to implement.
   
   <Strong>Anyone who want to implement it , please leave a message.</Strong>
   
   `Noted`: What's the important is that the authority, and we should pay attention to the authority. For dev branch, I test and find anyone who have not logged in can reach the `http://xxx/dolphinscheduler/doc.html`.
   Suggest to control the permissions of the `swagger doc interface` although there is already has the permission check when user call the api.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] yoreyuan commented on issue #3247: [Feature][ui]Admin users can click to view doc.html or swagger-ui.html

Posted by GitBox <gi...@apache.org>.
yoreyuan commented on issue #3247:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3247#issuecomment-662841797


   > Hi,
   > I think it is a good feature to add `http://hostname:port/dolphinscheduler/doc.html` for admin and it is easy to implement.
   > 
   > **Anyone who want to implement it , please leave a message.**
   > 
   > `Noted`: What's the important is that the authority, and we should pay attention to the authority. For dev branch, I test and find anyone who have not logged in can reach the `http://xxx/dolphinscheduler/doc.html`.
   > Suggest to control the permissions of the `swagger doc interface` although there is already has the permission check when user call the api.
   
   I have implemented the UI part. As you said, `doc.html` or `swagger-ui.html` without user authentication, everyone can access if they know the connection, I am considering how to implement this part of authentication.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] yangyichao-mango commented on issue #3247: [Feature][ui]Admin users can click to view doc.html or swagger-ui.html

Posted by GitBox <gi...@apache.org>.
yangyichao-mango commented on issue #3247:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3247#issuecomment-662445218


   Hi,
   I think it is a good feature to add `http://hostname:port/dolphinscheduler/doc.html` for admin and it is easy to implement.
   
   Anyone who want to implement it , please leave a message.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] yangyichao-mango edited a comment on issue #3247: [Feature][ui]Admin users can click to view doc.html or swagger-ui.html

Posted by GitBox <gi...@apache.org>.
yangyichao-mango edited a comment on issue #3247:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3247#issuecomment-662445218


   Hi,
   I think it is a good feature to add `http://hostname:port/dolphinscheduler/doc.html` for admin and it is easy to implement.
   
   Anyone who want to implement it , please leave a message.
   
   `Noted`: What's the important is that the authority, and we should pay attention to the authority. For dev branch, I test and find anyone who have not logged in can reach the `http://xxx/dolphinscheduler/doc.html`.
   Suggest to control the permissions of the `swagger doc interface` although there is already has the permission check when user call the api.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org