Database

restrict add entry or edit for some users in database activty

 
Picture of pavan naidu
restrict add entry or edit for some users in database activty
 

hi,

    How can restrict add entry or edit for some users in database activity, like i have created library management system, and i want to allow for students to see the content not to edit or add the entries. is their anyways to do it, i use moodle 3.2


   

 
Average of ratings: -
Picture of William Lu
Re: restrict add entry or edit for some users in database activty
Particularly helpful Moodlers

Hi Pavan,


THere are many ways to do that, below are 2 of them:

1. Edit permission, prevent students from adding a new entry.



2. Make your Database ready only.

 


 
Average of ratings: -
Picture of pavan naidu
Re: restrict add entry or edit for some users in database activty
 

Thank you so much for the solution. it worked  Yes

 
Average of ratings: -
Picture of pavan naidu
Re: restrict add entry or edit for some users in database activty
 

their is a problem, when i made prohibit for non-editing teacher for exporting the entries it doesn't work, it is allowing them to export the database entries 

 
Average of ratings: -
Picture of William Lu
Re: restrict add entry or edit for some users in database activty
Particularly helpful Moodlers

Hi Pavan, 

You are right, the 'Export' tab is for Teachers to use only, but I think there is a bug in Permission setting for the non-editing teacher's role. Neither "Prevent", nor "prohibit" has any effect on it, sad!

You can report this bug to the Tracker if you want to.

Workaround:

Create a new role, based on Student's role (Use role or archetype=Student). The student role can't see the Export tab. Then add necessary permission to the new role.

 
Average of ratings: -
Picture of pavan naidu
Re: restrict add entry or edit for some users in database activty
 
Thank you Mr. William Lu , i will try with your suggestions 
 
Average of ratings: -
Picture of William Lu
Re: restrict add entry or edit for some users in database activty
Particularly helpful Moodlers

Issue reported: MDL-62317

 
Average of ratings: -