Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature hide button to students #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hectorpasarin
Copy link

This changes make it possible to control the visibility of the button according to the role of the user of the Atto bar.

The file access.php was added inside /db folder.
Then an Admin can configure the "Student role" or any other role and remove the permission: (atto/teamsmeeting:visible)

Changes were made to the files:
lib.php
yui/src/button/js/button.js
and then with the help of Shifter, new files were generated in the /yui/build/moodle-atto_teamsmeeting-button folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants