This is a migrated thread and some comments may be shown as answers.
Make some task readonly
1 Answer 33 Views
This is a migrated thread and some comments may be shown as answers.
Gert
Top achievements
Rank 1
Gert asked on 07 Feb 2015, 07:30 AM
We have 1 scheduler where multiple users can create tasks.
In the database a task is created with a user_id. So we know which user created which task.
The user_id from the database is included in JSON and Kendo UI datasource.

How we achieve that a user can only modify(update, delete) his own tasks ? Tasks from other users have to be read-only.
The popup-window must open for all, but alle buttons must be disabled if not created by the user.

thx,
Gert

1 Answer, 1 is accepted

Sort by
0
Gert
Top achievements
Rank 1
answered on 10 Feb 2015, 08:07 AM
Solved with events : resizeEnd, moveEnd,....

resizeEnd: function(e) {
            if (e.event.userId != loggedOnUserID)
            {
                 e.preventDefault();
            }
Asked by
Gert
Top achievements
Rank 1
Answers by
Gert
Top achievements
Rank 1
Share this question
or