Commit graph

3 commits

Author SHA1 Message Date
Ankush Menat
266b2797aa refactor: use Fetch API instead of superagent 2024-04-06 21:26:45 +05:30
Ankush Menat
2a56869c99 refactor: better permission checking on sockets
- no more "can subscribe X"
- add a new util function on socket `has_permission`

Basic usage:

```js
socket.has_permission(doctype, [name]).then(() => { // do something });
```
2024-04-06 21:14:48 +05:30
Ankush Menat
4778090024 refactor!: Frappe handlers using same extensible socketio 2024-04-06 18:39:16 +05:30
Renamed from realtime/handlers/frappe_handlers.js (Browse further)