Ugandan President Yoweri Musaveni has pushed a bill through parliament, banning all forms of public gatherings, including demonstrations.
The Uganda Public Order Management Bill was passed by parliament, although there were objections from some opposition MPs.
Museveni has been in power for 27 years and his government is one of the largest recipients of British aid.