mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +00:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
		
			235 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			235 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								'use strict';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								const { getService } = require('./utils');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = async () => {
							 | 
						||
| 
								 | 
							
								  const { conditionProvider, actionProvider } = getService('permission');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  await conditionProvider.clear();
							 | 
						||
| 
								 | 
							
								  await actionProvider.clear();
							 | 
						||
| 
								 | 
							
								};
							 |