This feature would allow an author to give editing permissions to the registered members, thus giving the fellow authors and non-authors the right to edit his content.
In order to add this feature a new tab to display and manage the Shared Pages is created and a new table called "shared_content" is created, which contains the information regarding what content is shared with a registered member.
This table contains two columns currently.
content_id | user_id |
Both of which forms the primary key.
Using this information we can find the content shared with any particular user and give him the editing rights.
There is a possibility that we might have to add another column to this table which tells the type of the content :- "page", "folder" or "web-link", in order to add support of sharing all the data recursively under a particular folder or to enable the sharing of entire course.
Currently the work of displaying the content shared with the user in the side menu is under progress. There is also need to modify the current display of content under the shared menu tab. I am working to find the right javascript library which can help in giving a better and more intuitive display.
Using this information we can find the content shared with any particular user and give him the editing rights.
There is a possibility that we might have to add another column to this table which tells the type of the content :- "page", "folder" or "web-link", in order to add support of sharing all the data recursively under a particular folder or to enable the sharing of entire course.
Currently the work of displaying the content shared with the user in the side menu is under progress. There is also need to modify the current display of content under the shared menu tab. I am working to find the right javascript library which can help in giving a better and more intuitive display.
No comments:
Post a Comment