Content
View differences
Updated by Sagar Gurung over 2 years ago
We have a special user `OpenProject` which is created when we set up the project folders. when app TOS (term\_of\_service) is enabled all the user has to accept the term of service but user `OpenProject` never logs in to accept the TOS.
TODO:
* Detect the TOS and disbale the TOS for the user `OpenProject`
**Some information and findings to solve this issue:**
The initial solution for disabling the TOS for the OpenProject was to set a limit to a group if it was possible but the for `TOS` we cannot set it limit to groups.
So possible solution after some findings are:
1. To sign `TOS` for user `OpenProject` when the app is enabled (After the project folder set up is already done)
2. To sign `TOS` for user `OpenProject` when setting up project folder ( `terms_of_service` app is already enabled)
3. To sign `TOS` for user `OpenProject` (if available) when creating new `TOS` by admin.
The first 2 points can be achieved but for the 3rd one when `terms_of_service` app is enabled without any `TOS` and project folder is also setup already setup. When the admin creates new `TOS` then we might have to sign that `TOS` for user `OpenProject` which is so far not possible to do so.
But, the possible solution for the 3rd points could be:
1. setting up a new `TOS` created Event so that it can be Listened and we can sign TOS for user `OpenProject` through that listener.
2. implement in `terms_of_service` app to exclude to sign `TOS` for users. (OpenProject user in our case)
**Note:** Solution is TBD in meeting.
TODO:
* Detect the TOS and disbale the TOS for the user `OpenProject`
**Some information and findings to solve this issue:**
The initial solution for disabling the TOS for the OpenProject was to set a limit to a group if it was possible but the for `TOS` we cannot set it limit to groups.
So possible solution after some findings are:
1. To sign `TOS` for user `OpenProject` when the app is enabled (After the project folder set up is already done)
2. To sign `TOS` for user `OpenProject` when setting up project folder ( `terms_of_service` app is already enabled)
3. To sign `TOS` for user `OpenProject` (if available) when creating new `TOS` by admin.
The first 2 points can be achieved but for the 3rd one when `terms_of_service` app is enabled without any `TOS` and project folder is also setup already setup. When the admin creates new `TOS` then we might have to sign that `TOS` for user `OpenProject` which is so far not possible to do so.
But, the possible solution for the 3rd points could be:
1. setting up a new `TOS` created Event so that it can be Listened and we can sign TOS for user `OpenProject` through that listener.
2. implement in `terms_of_service` app to exclude to sign `TOS` for users. (OpenProject user in our case)
**Note:** Solution is TBD in meeting.